|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.xml.stream.AbstractStaxContentHandler
org.springframework.xml.stream.StaxEventContentHandler
StaxUtils.createContentHandler(javax.xml.stream.XMLEventWriter).
@Deprecated public class StaxEventContentHandler
SAX ContentHandler that transforms callback calls to XMLEvents and writes them to a
XMLEventConsumer.
XMLEvent,
XMLEventConsumer| Constructor Summary | |
|---|---|
StaxEventContentHandler(javax.xml.stream.util.XMLEventConsumer consumer)
Deprecated. Constructs a new instance of the StaxEventContentHandler that writes to the given
XMLEventConsumer. |
|
StaxEventContentHandler(javax.xml.stream.util.XMLEventConsumer consumer,
javax.xml.stream.XMLEventFactory factory)
Deprecated. Constructs a new instance of the StaxEventContentHandler that uses the given event factory to create
events and writes to the given XMLEventConsumer. |
|
| Method Summary | |
|---|---|
protected void |
charactersInternal(char[] ch,
int start,
int length)
Deprecated. |
protected void |
endDocumentInternal()
Deprecated. |
protected void |
endElementInternal(javax.xml.namespace.QName name,
SimpleNamespaceContext namespaceContext)
Deprecated. |
protected void |
ignorableWhitespaceInternal(char[] ch,
int start,
int length)
Deprecated. |
protected void |
processingInstructionInternal(java.lang.String target,
java.lang.String data)
Deprecated. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Deprecated. |
protected void |
skippedEntityInternal(java.lang.String name)
Deprecated. |
protected void |
startDocumentInternal()
Deprecated. |
protected void |
startElementInternal(javax.xml.namespace.QName name,
org.xml.sax.Attributes atts,
SimpleNamespaceContext namespaceContext)
Deprecated. |
| Methods inherited from class org.springframework.xml.stream.AbstractStaxContentHandler |
|---|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startElement, startPrefixMapping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaxEventContentHandler(javax.xml.stream.util.XMLEventConsumer consumer)
StaxEventContentHandler that writes to the given
XMLEventConsumer. A default XMLEventFactory will be created.
consumer - the consumer to write events to
public StaxEventContentHandler(javax.xml.stream.util.XMLEventConsumer consumer,
javax.xml.stream.XMLEventFactory factory)
StaxEventContentHandler that uses the given event factory to create
events and writes to the given XMLEventConsumer.
consumer - the consumer to write events tofactory - the factory used to create events| Method Detail |
|---|
public void setDocumentLocator(org.xml.sax.Locator locator)
protected void startDocumentInternal()
throws javax.xml.stream.XMLStreamException
startDocumentInternal in class AbstractStaxContentHandlerjavax.xml.stream.XMLStreamException
protected void endDocumentInternal()
throws javax.xml.stream.XMLStreamException
endDocumentInternal in class AbstractStaxContentHandlerjavax.xml.stream.XMLStreamException
protected void startElementInternal(javax.xml.namespace.QName name,
org.xml.sax.Attributes atts,
SimpleNamespaceContext namespaceContext)
throws javax.xml.stream.XMLStreamException
startElementInternal in class AbstractStaxContentHandlerjavax.xml.stream.XMLStreamException
protected void endElementInternal(javax.xml.namespace.QName name,
SimpleNamespaceContext namespaceContext)
throws javax.xml.stream.XMLStreamException
endElementInternal in class AbstractStaxContentHandlerjavax.xml.stream.XMLStreamException
protected void charactersInternal(char[] ch,
int start,
int length)
throws javax.xml.stream.XMLStreamException
charactersInternal in class AbstractStaxContentHandlerjavax.xml.stream.XMLStreamException
protected void ignorableWhitespaceInternal(char[] ch,
int start,
int length)
throws javax.xml.stream.XMLStreamException
ignorableWhitespaceInternal in class AbstractStaxContentHandlerjavax.xml.stream.XMLStreamException
protected void processingInstructionInternal(java.lang.String target,
java.lang.String data)
throws javax.xml.stream.XMLStreamException
processingInstructionInternal in class AbstractStaxContentHandlerjavax.xml.stream.XMLStreamException
protected void skippedEntityInternal(java.lang.String name)
throws javax.xml.stream.XMLStreamException
skippedEntityInternal in class AbstractStaxContentHandlerjavax.xml.stream.XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||