Package groovy.console.ui.text
Class StructuredSyntaxHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
groovy.console.ui.text.StructuredSyntaxHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class StructuredSyntaxHandler extends DefaultHandler
-
Field Summary
Fields Modifier and Type Field Description static String
ALIGN_CENTER
static String
ALIGN_JUSTIFIED
static String
ALIGN_LEFT
static String
ALIGN_RIGHT
static String
ALIGNMENT
static String
BACKGROUND
static String
BIDI_LEVEL
static String
BOLD
static String
COMPONENT_ATTRIBUTE
static String
COMPONENT_ELEMENT_NAME
static String
COMPOSED_TEXT_ATTRIBUTE
static String
FIRST_LINE_INDENT
static String
FONT_FAMILY
static String
FONT_SIZE
static String
FOREGROUND
static String
ICON_ATTRIBUTE
static String
ICON_ELEMENT_NAME
static String
ITALIC
static String
LEFT_INDENT
static String
LINE_SPACING
static String
MODEL_ATTRIBUTE
static String
NAME_ATTRIBUTE
static String
ORIENTATION
static String
REGEXP
static String
RESOLVE_ATTRIBUTE
static String
RIGHT_INDENT
static String
SPACE_ABOVE
static String
SPACE_BELOW
static String
STRIKE_THROUGH
static String
STYLE
static String
SUBSCRIPT
static String
SUPERSCRIPT
static String
TAB_SET
static String
UNDERLINE
-
Constructor Summary
Constructors Constructor Description StructuredSyntaxHandler(StructuredSyntaxDocumentFilter filter)
Creates a new instance of MasterFrameHandler -
Method Summary
Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endDocument()
void
endElement(String uri, String localName, String qName)
void
error(SAXParseException e)
void
startDocument()
void
startElement(String uri, String localName, String qName, Attributes attributes)
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
REGEXP
- See Also:
- Constant Field Values
-
STYLE
- See Also:
- Constant Field Values
-
ALIGN_CENTER
- See Also:
- Constant Field Values
-
ALIGN_JUSTIFIED
- See Also:
- Constant Field Values
-
ALIGN_LEFT
- See Also:
- Constant Field Values
-
ALIGN_RIGHT
- See Also:
- Constant Field Values
-
ALIGNMENT
- See Also:
- Constant Field Values
-
BACKGROUND
- See Also:
- Constant Field Values
-
BIDI_LEVEL
- See Also:
- Constant Field Values
-
BOLD
- See Also:
- Constant Field Values
-
COMPONENT_ATTRIBUTE
- See Also:
- Constant Field Values
-
COMPONENT_ELEMENT_NAME
- See Also:
- Constant Field Values
-
COMPOSED_TEXT_ATTRIBUTE
- See Also:
- Constant Field Values
-
FIRST_LINE_INDENT
- See Also:
- Constant Field Values
-
FONT_FAMILY
- See Also:
- Constant Field Values
-
FONT_SIZE
- See Also:
- Constant Field Values
-
FOREGROUND
- See Also:
- Constant Field Values
-
ICON_ATTRIBUTE
- See Also:
- Constant Field Values
-
ICON_ELEMENT_NAME
- See Also:
- Constant Field Values
-
ITALIC
- See Also:
- Constant Field Values
-
LEFT_INDENT
- See Also:
- Constant Field Values
-
LINE_SPACING
- See Also:
- Constant Field Values
-
MODEL_ATTRIBUTE
- See Also:
- Constant Field Values
-
NAME_ATTRIBUTE
- See Also:
- Constant Field Values
-
ORIENTATION
- See Also:
- Constant Field Values
-
RESOLVE_ATTRIBUTE
- See Also:
- Constant Field Values
-
RIGHT_INDENT
- See Also:
- Constant Field Values
-
SPACE_ABOVE
- See Also:
- Constant Field Values
-
SPACE_BELOW
- See Also:
- Constant Field Values
-
STRIKE_THROUGH
- See Also:
- Constant Field Values
-
SUBSCRIPT
- See Also:
- Constant Field Values
-
SUPERSCRIPT
- See Also:
- Constant Field Values
-
TAB_SET
- See Also:
- Constant Field Values
-
UNDERLINE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
StructuredSyntaxHandler
Creates a new instance of MasterFrameHandler- Parameters:
filter
-
-
-
Method Details
-
characters
public void characters(char[] ch, int start, int length)- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
endDocument
- Specified by:
endDocument
in interfaceContentHandler
- Overrides:
endDocument
in classDefaultHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
error
- Specified by:
error
in interfaceErrorHandler
- Overrides:
error
in classDefaultHandler
- Throws:
SAXException
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-