Class XMLContext
java.lang.Object
javax.swing.text.StyleContext
org.apache.batik.util.gui.xmleditor.XMLContext
- All Implemented Interfaces:
Serializable
,AbstractDocument.AttributeContext
A pool of styles and their associated resources
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.text.StyleContext
StyleContext.NamedStyle, StyleContext.SmallAttributeSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Map
protected Map
static final String
Fields inherited from class javax.swing.text.StyleContext
DEFAULT_STYLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSyntaxFont
(int ctx) getSyntaxFont
(String name) getSyntaxForeground
(int ctx) getSyntaxForeground
(String name) getSyntaxName
(int ctx) void
setSyntaxFont
(Map syntaxFontMap) void
setSyntaxForeground
(Map syntaxForegroundMap) Methods inherited from class javax.swing.text.StyleContext
addAttribute, addAttributes, addChangeListener, addStyle, createLargeAttributeSet, createSmallAttributeSet, getBackground, getChangeListeners, getCompressionThreshold, getDefaultStyleContext, getEmptySet, getFont, getFont, getFontMetrics, getForeground, getStaticAttribute, getStaticAttributeKey, getStyle, getStyleNames, readAttributes, readAttributeSet, reclaim, registerStaticAttributeKey, removeAttribute, removeAttributes, removeAttributes, removeChangeListener, removeStyle, toString, writeAttributes, writeAttributeSet
-
Field Details
-
XML_DECLARATION_STYLE
- See Also:
-
DOCTYPE_STYLE
- See Also:
-
COMMENT_STYLE
- See Also:
-
ELEMENT_STYLE
- See Also:
-
CHARACTER_DATA_STYLE
- See Also:
-
ATTRIBUTE_NAME_STYLE
- See Also:
-
ATTRIBUTE_VALUE_STYLE
- See Also:
-
CDATA_STYLE
- See Also:
-
syntaxForegroundMap
-
syntaxFontMap
-
-
Constructor Details
-
XMLContext
public XMLContext() -
XMLContext
-
-
Method Details
-
setSyntaxForeground
-
setSyntaxFont
-
getSyntaxForeground
-
getSyntaxForeground
-
getSyntaxFont
-
getSyntaxFont
-
getSyntaxName
-