|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.merlotxml.merlot.XMLEditor
This is the main class for Merlot. It provides the entry point to the application with the main static method. This starts by loading up the XMLEditorSettings which handles parsing the command line options, and reading in the application properties files. Next, this loads plugins via the PluginManager, and finally it initializes and opens up the main XMLEditorFrame.
XMLEditor is a Singleton class. Use getSharedInstance to get the singleton instance of this class.
XMLEditorSettings
,
PluginManager
,
XMLEditorFrame
Inner Class Summary | |
protected class |
XMLEditor.DTDChooserFindFileAction
brings up a file dialog for the user to find a dtd file if they click the "choose" button in the dtd resolver dialog |
class |
XMLEditor.UserEntityResolver
custom dtd resolver which allows the user to find the dtd or specify a URL for it |
Field Summary | |
protected ValidDOMLiaison |
_domLiaison
Validating DOMLiaison implementation instance |
protected XMLEditorFrame |
_frame
The main frame for the application |
protected XMLEditorSettings |
_settings
Global application settings |
protected static XMLEditor |
_sharedInstance
Singleton instance of the XMLEditor application |
Fields inherited from interface org.merlotxml.merlot.MerlotConstants |
ACTION_MENU_ACCELERATOR,
ACTION_MENU_ICON,
ACTION_NAME,
ACTION_SHORT_DESCRIPTION,
ACTION_SMALL_ICON,
AFTER,
BEFORE,
ERR,
INTO,
UI,
XML |
Constructor Summary | |
XMLEditor(java.lang.String[] args)
Construct an XMLEditor based on the given command line args |
Method Summary | |
ValidDOMLiaison |
getDOMLiaison()
Gets the validating dom liaison implementation for the application |
XMLEditorSettings |
getSettings()
Returns the XMLEditorSettings object initialized for this editor instance |
static XMLEditor |
getSharedInstance()
Get the singleton instance of this class |
static void |
main(java.lang.String[] args)
The main method. |
void |
run()
Bring up the frame for the user to start using |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected XMLEditorFrame _frame
protected XMLEditorSettings _settings
protected static XMLEditor _sharedInstance
protected ValidDOMLiaison _domLiaison
Constructor Detail |
public XMLEditor(java.lang.String[] args) throws MerlotException
args
- command line argsMethod Detail |
public static void main(java.lang.String[] args)
args
- the command line arguments passed to the main methodpublic static XMLEditor getSharedInstance()
public void run()
public XMLEditorSettings getSettings()
public ValidDOMLiaison getDOMLiaison() throws MerlotException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |