org.apache.ws.jaxme.impl
public class JMUnmarshallerHandlerImpl extends Object implements JMUnmarshallerHandler
Implementation of a JMUnmarshallerHandler; the
UnmarshallerHandler receives SAX events which he silently
discards, as long as the first startElement
event is seen. Depending on namespace URI and local name,
the Unmarshallerhandler creates a new instance of JMHandler
and from now on forwards all SAX events to the JMHandler.
| Constructor Summary | |
|---|---|
| JMUnmarshallerHandlerImpl(JMUnmarshaller pUnmarshaller) Creates a new instance, controlled by the given
JMUnmarshaller. | |
| Method Summary | |
|---|---|
| void | addElementParser(JMSAXElementParser pParser) Adds a parser for an nested element to the stack of parsers. |
| void | addSimpleAtomicState() Indicates, that the handler is parsing a simple, atomic element. |
| void | characters(char[] pChars, int pOffset, int pLen) |
| void | endDocument() |
| void | endElement(String pNamespaceURI, String pLocalName, String pQName) |
| void | endPrefixMapping(String pPrefix) |
| DatatypeConverterInterface | getDatatypeConverter() |
| Locator | getDocumentLocator() |
| JMUnmarshaller | getJMUnmarshaller() Returns the JMUnmarshaller, which created this
handler. |
| int | getLevel() |
| NamespaceSupport | getNamespaceSupport() |
| Observer | getObserver() Returns the observer, which will be notified, when the element has
been parsed. |
| Object | getResult() |
| void | ignorableWhitespace(char[] pChars, int pStart, int pLen) |
| void | parseConversionEvent(String pMsg, Exception pException) Posts a ParseConversionEvent. |
| void | processingInstruction(String pTarget, String pData) |
| void | setDocumentLocator(Locator pLocator) |
| void | setObserver(Observer pObserver) Sets an observer, which will be notified, when the element has
been parsed. |
| void | skippedEntity(String pName) |
| void | startDocument() |
| void | startElement(String pNamespaceURI, String pLocalName, String pQName, Attributes pAttrs) |
| void | startPrefixMapping(String pPrefix, String pURI) |
| boolean | testGroupParser(JMSAXGroupParser pParser, String pNamespaceURI, String pLocalName, String pQName, Attributes pAttrs) Tests, whether the group parser accepts the element.
|
| void | validationEvent(int pSeverity, String pMsg, String pErrorCode, Exception pException) Posts a ValidationEvent. |