public class StructuredSyntaxHandler
extends DefaultHandler
SAX handler that reads structured syntax definitions into a document filter.
| Modifiers | Name | Description |
|---|---|---|
static String |
ALIGNMENT |
Style attribute name for alignment. |
static String |
ALIGN_CENTER |
Alignment value name for centered text. |
static String |
ALIGN_JUSTIFIED |
Alignment value name for justified text. |
static String |
ALIGN_LEFT |
Alignment value name for left-aligned text. |
static String |
ALIGN_RIGHT |
Alignment value name for right-aligned text. |
static String |
BACKGROUND |
Style attribute name for background color. |
static String |
BIDI_LEVEL |
Style attribute name for bidirectional text level. |
static String |
BOLD |
Style attribute name for bold text. |
static String |
COMPONENT_ATTRIBUTE |
Style attribute name for embedded components. |
static String |
COMPONENT_ELEMENT_NAME |
Style attribute name for component element names. |
static String |
COMPOSED_TEXT_ATTRIBUTE |
Style attribute name for composed text. |
static String |
FIRST_LINE_INDENT |
Style attribute name for first-line indentation. |
static String |
FONT_FAMILY |
Style attribute name for font family. |
static String |
FONT_SIZE |
Style attribute name for font size. |
static String |
FOREGROUND |
Style attribute name for foreground color. |
static String |
ICON_ATTRIBUTE |
Style attribute name for embedded icons. |
static String |
ICON_ELEMENT_NAME |
Style attribute name for icon element names. |
static String |
ITALIC |
Style attribute name for italic text. |
static String |
LEFT_INDENT |
Style attribute name for left indentation. |
static String |
LINE_SPACING |
Style attribute name for line spacing. |
static String |
MODEL_ATTRIBUTE |
Style attribute name for model attributes. |
static String |
NAME_ATTRIBUTE |
Style attribute name for named attributes. |
static String |
ORIENTATION |
Style attribute name for orientation. |
static String |
REGEXP |
XML element name for regular expression entries. |
static String |
RESOLVE_ATTRIBUTE |
Style attribute name for resolve attributes. |
static String |
RIGHT_INDENT |
Style attribute name for right indentation. |
static String |
SPACE_ABOVE |
Style attribute name for space above paragraphs. |
static String |
SPACE_BELOW |
Style attribute name for space below paragraphs. |
static String |
STRIKE_THROUGH |
Style attribute name for strike-through text. |
static String |
STYLE |
XML element name for style entries. |
static String |
SUBSCRIPT |
Style attribute name for subscript text. |
static String |
SUPERSCRIPT |
Style attribute name for superscript text. |
static String |
TAB_SET |
Style attribute name for tab sets. |
static String |
UNDERLINE |
Style attribute name for underlined text. |
| Constructor and description |
|---|
StructuredSyntaxHandler(StructuredSyntaxDocumentFilter filter)Creates a handler for the supplied syntax filter. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
characters(char[] ch, int start, int length){@inheritDoc} |
|
public void |
endDocument(){@inheritDoc} |
|
public void |
endElement(String uri, String localName, String qName){@inheritDoc} |
|
public void |
error(SAXParseException e){@inheritDoc} |
|
public void |
startDocument(){@inheritDoc} |
|
public void |
startElement(String uri, String localName, String qName, Attributes attributes){@inheritDoc} |
| Methods inherited from class | Name |
|---|---|
class DefaultHandler |
characters, declaration, endDocument, endElement, endPrefixMapping, equals, error, fatalError, getClass, hashCode, ignorableWhitespace, notationDecl, notify, notifyAll, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, toString, unparsedEntityDecl, wait, wait, wait, warning |
Style attribute name for alignment.
Alignment value name for centered text.
Alignment value name for justified text.
Alignment value name for left-aligned text.
Alignment value name for right-aligned text.
Style attribute name for background color.
Style attribute name for bidirectional text level.
Style attribute name for bold text.
Style attribute name for embedded components.
Style attribute name for component element names.
Style attribute name for composed text.
Style attribute name for first-line indentation.
Style attribute name for font family.
Style attribute name for font size.
Style attribute name for foreground color.
Style attribute name for embedded icons.
Style attribute name for icon element names.
Style attribute name for italic text.
Style attribute name for left indentation.
Style attribute name for line spacing.
Style attribute name for model attributes.
Style attribute name for named attributes.
Style attribute name for orientation.
XML element name for regular expression entries.
Style attribute name for resolve attributes.
Style attribute name for right indentation.
Style attribute name for space above paragraphs.
Style attribute name for space below paragraphs.
Style attribute name for strike-through text.
XML element name for style entries.
Style attribute name for subscript text.
Style attribute name for superscript text.
Style attribute name for tab sets.
Style attribute name for underlined text.
Creates a handler for the supplied syntax filter.
filter - the filter receiving parsed syntax definitions{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.