类 StaxEventHandler
java.lang.Object
cn.taketoday.util.xml.AbstractStaxHandler
cn.taketoday.util.xml.StaxEventHandler
- 所有已实现的接口:
ContentHandler,LexicalHandler
- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器构造器说明StaxEventHandler(XMLEventWriter eventWriter) Construct a new instance of theStaxEventContentHandlerthat writes to the givenXMLEventWriter.StaxEventHandler(XMLEventWriter eventWriter, XMLEventFactory factory) Construct a new instance of theStaxEventContentHandlerthat uses the given event factory to create events and writes to the givenXMLEventConsumer. -
方法概要
修饰符和类型方法说明protected voidcDataInternal(String data) protected voidcharactersInternal(String data) protected voidcommentInternal(String comment) protected voiddtdInternal(String dtd) protected voidprotected voidendElementInternal(QName name, Map<String, String> namespaceMapping) getAttributes(Attributes attributes) getNamespaces(Map<String, String> namespaceMappings) protected voidprotected voidprocessingInstructionInternal(String target, String data) voidsetDocumentLocator(Locator locator) protected voidskippedEntityInternal(String name) protected voidprotected voidstartElementInternal(QName name, Attributes atts, Map<String, String> namespaceMapping) 从类继承的方法 cn.taketoday.util.xml.AbstractStaxHandler
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, isNamespaceDeclaration, processingInstruction, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping, toQName从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.xml.sax.ContentHandler
declaration
-
字段详细资料
-
eventFactory
-
eventWriter
-
-
构造器详细资料
-
StaxEventHandler
Construct a new instance of theStaxEventContentHandlerthat writes to the givenXMLEventWriter. A defaultXMLEventFactorywill be created.- 参数:
eventWriter- the writer to write events to
-
StaxEventHandler
Construct a new instance of theStaxEventContentHandlerthat uses the given event factory to create events and writes to the givenXMLEventConsumer.- 参数:
eventWriter- the writer to write events tofactory- the factory used to create events
-
-
方法详细资料
-
setDocumentLocator
-
startDocumentInternal
- 指定者:
startDocumentInternal在类中AbstractStaxHandler- 抛出:
XMLStreamException
-
endDocumentInternal
- 指定者:
endDocumentInternal在类中AbstractStaxHandler- 抛出:
XMLStreamException
-
startElementInternal
protected void startElementInternal(QName name, Attributes atts, Map<String, String> namespaceMapping) throws XMLStreamException- 指定者:
startElementInternal在类中AbstractStaxHandler- 抛出:
XMLStreamException
-
getNamespaces
-
getAttributes
-
endElementInternal
protected void endElementInternal(QName name, Map<String, String> namespaceMapping) throws XMLStreamException- 指定者:
endElementInternal在类中AbstractStaxHandler- 抛出:
XMLStreamException
-
charactersInternal
- 指定者:
charactersInternal在类中AbstractStaxHandler- 抛出:
XMLStreamException
-
cDataInternal
- 指定者:
cDataInternal在类中AbstractStaxHandler- 抛出:
XMLStreamException
-
ignorableWhitespaceInternal
-
processingInstructionInternal
-
dtdInternal
- 指定者:
dtdInternal在类中AbstractStaxHandler- 抛出:
XMLStreamException
-
commentInternal
- 指定者:
commentInternal在类中AbstractStaxHandler- 抛出:
XMLStreamException
-
skippedEntityInternal
- 指定者:
skippedEntityInternal在类中AbstractStaxHandler
-