| java.lang.Object org.springframework.xml.stream.AbstractStaxContentHandler org.springframework.xml.stream.StaxEventContentHandler
StaxEventContentHandler | public class StaxEventContentHandler extends AbstractStaxContentHandler (Code) | | SAX ContentHandler that transforms callback calls to XMLEvent s and writes them to a
XMLEventConsumer .
author: Arjen Poutsma See Also: XMLEvent See Also: XMLEventConsumer since: 1.0.0 |
StaxEventContentHandler | public StaxEventContentHandler(XMLEventConsumer consumer)(Code) | | Constructs a new instance of the StaxEventContentHandler that writes to the given
XMLEventConsumer . A default XMLEventFactory will be created.
Parameters: consumer - the consumer to write events to |
StaxEventContentHandler | public StaxEventContentHandler(XMLEventConsumer consumer, XMLEventFactory factory)(Code) | | Constructs a new instance of the StaxEventContentHandler that uses the given event factory to create
events and writes to the given XMLEventConsumer .
Parameters: consumer - the consumer to write events to Parameters: factory - the factory used to create events |
ignorableWhitespaceInternal | protected void ignorableWhitespaceInternal(char[] ch, int start, int length) throws XMLStreamException(Code) | | |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | |
Methods inherited from org.springframework.xml.stream.AbstractStaxContentHandler | final public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) abstract protected void charactersInternal(char[] ch, int start, int length) throws XMLStreamException(Code)(Java Doc) final public void endDocument() throws SAXException(Code)(Java Doc) abstract protected void endDocumentInternal() throws XMLStreamException(Code)(Java Doc) final public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) abstract protected void endElementInternal(QName name, SimpleNamespaceContext namespaceContext) throws XMLStreamException(Code)(Java Doc) final public void endPrefixMapping(String prefix)(Code)(Java Doc) final public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException(Code)(Java Doc) abstract protected void ignorableWhitespaceInternal(char[] ch, int start, int length) throws XMLStreamException(Code)(Java Doc) final public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) abstract protected void processingInstructionInternal(String target, String data) throws XMLStreamException(Code)(Java Doc) final public void skippedEntity(String name) throws SAXException(Code)(Java Doc) abstract protected void skippedEntityInternal(String name) throws XMLStreamException(Code)(Java Doc) final public void startDocument() throws SAXException(Code)(Java Doc) abstract protected void startDocumentInternal() throws XMLStreamException(Code)(Java Doc) final public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException(Code)(Java Doc) abstract protected void startElementInternal(QName name, Attributes atts, SimpleNamespaceContext namespaceContext) throws XMLStreamException(Code)(Java Doc) final public void startPrefixMapping(String prefix, String uri)(Code)(Java Doc)
|
|
|