| Modifier and Type | Field and Description |
|---|---|
| private static final int | EXPECTED_DEPTH
Likely number of nested configuration items. |
| private Configuration | |
| private final ArrayList | |
| private Locator | |
| private final BitSet | m_preserveSpace
Contains true at index n if space in the configuration with depth n is to be preserved. |
| private final ArrayList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | characters(final char[]
a ch, int char[] of dataoffset in the character array from which to start reading start, int length of character data end)Overrides org. Implements org. |
| public void | |
| protected DefaultConfiguration | Returns: aDefaultConfiguration valuea localName, final String String valuea location)String valueCreate a new |
| public void | endElement(final String
a namespaceURI, final String String valuea localName, final String String valuea rawName)String valueOverrides org. Implements org. |
| public void | error(final SAXParseException
the parse error exception)Overrides org. Implements org. |
| public void | fatalError(final SAXParseException
the parse error exception)Overrides org. Implements org. |
| public Configuration | |
| protected String | Returns: aString valueReturns a string showing the current system ID, line number and column number. |
| public void | setDocumentLocator(final Locator
a locator)Locator valueOverrides org. Implements org. Locator to use.
|
| public void | startElement(final String
a namespaceURI, final String String valuea localName, final String String valuea rawName, final Attributes String valuean attributes)Attributes valueOverrides org. Implements org. |
| public void | warning(final SAXParseException
the parse error exception)Overrides org. Implements org. |
| EXPECTED_DEPTH | back to summary |
|---|---|
| private static final int EXPECTED_DEPTH Likely number of nested configuration items. If more is encountered the lists will grow automatically. | |
| m_configuration | back to summary |
|---|---|
| private Configuration m_configuration | |
| m_elements | back to summary |
|---|---|
| private final ArrayList<E> m_elements | |
| m_locator | back to summary |
|---|---|
| private Locator m_locator | |
| m_preserveSpace | back to summary |
|---|---|
| private final BitSet m_preserveSpace Contains true at index n if space in the configuration with depth n is to be preserved. | |
| m_values | back to summary |
|---|---|
| private final ArrayList<E> m_values | |
| SAXConfigurationHandler | back to summary |
|---|---|
| public SAXConfigurationHandler() | |
| characters | back to summary |
|---|---|
| public void characters(final char[] ch, int start, int end) throws SAXException Overrides org. Implements org. Handling hook for character data.
| |
| clear | back to summary |
|---|---|
| public void clear() Clears all data from this configuration handler. | |
| createConfiguration | back to summary |
|---|---|
| protected DefaultConfiguration createConfiguration(final String localName, final String location) Create a new
| |
| endElement | back to summary |
|---|---|
| public void endElement(final String namespaceURI, final String localName, final String rawName) throws SAXException Overrides org. Implements org. Handling hook for finishing parsing of an element.
| |
| error | back to summary |
|---|---|
| public void error(final SAXParseException exception) throws SAXException Overrides org. Implements org. This just throws an exception on a parse error.
| |
| fatalError | back to summary |
|---|---|
| public void fatalError(final SAXParseException exception) throws SAXException Overrides org. Implements org. This just throws an exception on a parse error.
| |
| getConfiguration | back to summary |
|---|---|
| public Configuration getConfiguration() Get the configuration object that was built.
| |
| getLocationString | back to summary |
|---|---|
| protected String getLocationString() Returns a string showing the current system ID, line number and column number.
| |
| setDocumentLocator | back to summary |
|---|---|
| public void setDocumentLocator(final Locator locator) Overrides org. Implements org. Set the document
| |
| startElement | back to summary |
|---|---|
| public void startElement(final String namespaceURI, final String localName, final String rawName, final Attributes attributes) throws SAXException Overrides org. Implements org. Handling hook for starting parsing of an element.
| |
| warning | back to summary |
|---|---|
| public void warning(final SAXParseException exception) throws SAXException Overrides org. Implements org. This just throws an exception on a parse error.
| |