org.apache.batik.util.gui.xmleditor
public class XMLEditorKit extends DefaultEditorKit
| Nested Class Summary | |
|---|---|
| protected class | XMLEditorKit.XMLViewFactory
A simple view factory implementation. |
| Field Summary | |
|---|---|
| protected XMLContext | context |
| protected ViewFactory | factory |
| static String | XML_MIME_TYPE |
| Constructor Summary | |
|---|---|
| XMLEditorKit() Creates a new instance of XMLEditorKit | |
| XMLEditorKit(XMLContext context) Creates a new instance of XMLEditorKit | |
| Method Summary | |
|---|---|
| Object | clone() |
| Document | createDefaultDocument() |
| String | getContentType()
Get the MIME type of the data that this
kit represents support for. |
| XMLContext | getStylePreferences() |
| ViewFactory | getViewFactory() |
| void | install(JEditorPane c) Overriden to set the JEditorPane font to match with the XMLContext
|
Parameters: context XMLContext
text/xml.Returns: XMLContext