类 DomContentHandler
java.lang.Object
com.walker.infrastructure.core.domx.DomContentHandler
- 所有已实现的接口:
ContentHandler
SAX
ContentHandler that transforms callback calls to DOM Nodes.- 从以下版本开始:
- 3.0
- 作者:
- Arjen Poutsma
- 另请参阅:
-
构造器概要
构造器构造器说明DomContentHandler(Node node) Creates a new instance of theDomContentHandlerwith the given node. -
方法概要
修饰符和类型方法说明voidcharacters(char[] ch, int start, int length) voidvoidendElement(String uri, String localName, String qName) voidendPrefixMapping(String prefix) voidignorableWhitespace(char[] ch, int start, int length) voidprocessingInstruction(String target, String data) voidsetDocumentLocator(Locator locator) voidskippedEntity(String name) voidvoidstartElement(String uri, String localName, String qName, Attributes attributes) voidstartPrefixMapping(String prefix, String uri) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.xml.sax.ContentHandler
declaration
-
构造器详细资料
-
DomContentHandler
Creates a new instance of theDomContentHandlerwith the given node.- 参数:
node- the node to publish events to
-
-
方法详细资料
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - 指定者:
startElement在接口中ContentHandler- 抛出:
SAXException
-
endElement
- 指定者:
endElement在接口中ContentHandler- 抛出:
SAXException
-
characters
- 指定者:
characters在接口中ContentHandler- 抛出:
SAXException
-
processingInstruction
- 指定者:
processingInstruction在接口中ContentHandler- 抛出:
SAXException
-
setDocumentLocator
- 指定者:
setDocumentLocator在接口中ContentHandler
-
startDocument
- 指定者:
startDocument在接口中ContentHandler- 抛出:
SAXException
-
endDocument
- 指定者:
endDocument在接口中ContentHandler- 抛出:
SAXException
-
startPrefixMapping
- 指定者:
startPrefixMapping在接口中ContentHandler- 抛出:
SAXException
-
endPrefixMapping
- 指定者:
endPrefixMapping在接口中ContentHandler- 抛出:
SAXException
-
ignorableWhitespace
- 指定者:
ignorableWhitespace在接口中ContentHandler- 抛出:
SAXException
-
skippedEntity
- 指定者:
skippedEntity在接口中ContentHandler- 抛出:
SAXException
-