protected class NekoSimplifiedHtmlParser.DocumentHandler extends Object implements org.apache.xerces.xni.XMLDocumentHandler
| Constructor and Description |
|---|
NekoSimplifiedHtmlParser.DocumentHandler(String content) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
comment(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
doctypeDecl(String rootElement,
String publicId,
String systemId,
org.apache.xerces.xni.Augmentations augs) |
void |
emptyElement(org.apache.xerces.xni.QName qName,
org.apache.xerces.xni.XMLAttributes xmlAttributes,
org.apache.xerces.xni.Augmentations augs) |
void |
endCDATA(org.apache.xerces.xni.Augmentations augs) |
void |
endDocument(org.apache.xerces.xni.Augmentations augs) |
void |
endElement(org.apache.xerces.xni.QName qName,
org.apache.xerces.xni.Augmentations augs) |
void |
endGeneralEntity(String s,
org.apache.xerces.xni.Augmentations augs) |
protected void |
flushTextBuffer()
Flush any existing text content to the document.
|
Document |
getDocument() |
org.apache.xerces.xni.parser.XMLDocumentSource |
getDocumentSource() |
DocumentFragment |
getFragment() |
void |
ignorableWhitespace(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
processingInstruction(String s,
org.apache.xerces.xni.XMLString xmlString,
org.apache.xerces.xni.Augmentations augs) |
void |
setDocumentSource(org.apache.xerces.xni.parser.XMLDocumentSource xmlDocumentSource) |
void |
startCDATA(org.apache.xerces.xni.Augmentations augs) |
void |
startDocument(org.apache.xerces.xni.XMLLocator xmlLocator,
String encoding,
org.apache.xerces.xni.NamespaceContext namespaceContext,
org.apache.xerces.xni.Augmentations augs) |
void |
startElement(org.apache.xerces.xni.QName qName,
org.apache.xerces.xni.XMLAttributes xmlAttributes,
org.apache.xerces.xni.Augmentations augs) |
void |
startGeneralEntity(String name,
org.apache.xerces.xni.XMLResourceIdentifier id,
String encoding,
org.apache.xerces.xni.Augmentations augs) |
void |
textDecl(String s,
String s1,
org.apache.xerces.xni.Augmentations augs) |
void |
xmlDecl(String version,
String encoding,
String standalone,
org.apache.xerces.xni.Augmentations augs) |
public NekoSimplifiedHtmlParser.DocumentHandler(String content)
public DocumentFragment getFragment()
public Document getDocument()
public void startDocument(org.apache.xerces.xni.XMLLocator xmlLocator,
String encoding,
org.apache.xerces.xni.NamespaceContext namespaceContext,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
startDocument in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void xmlDecl(String version, String encoding, String standalone, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
xmlDecl in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void doctypeDecl(String rootElement, String publicId, String systemId, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
doctypeDecl in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void comment(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
comment in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void processingInstruction(String s, org.apache.xerces.xni.XMLString xmlString, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
processingInstruction in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void startElement(org.apache.xerces.xni.QName qName,
org.apache.xerces.xni.XMLAttributes xmlAttributes,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
startElement in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void emptyElement(org.apache.xerces.xni.QName qName,
org.apache.xerces.xni.XMLAttributes xmlAttributes,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
emptyElement in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionprotected void flushTextBuffer()
public void startGeneralEntity(String name, org.apache.xerces.xni.XMLResourceIdentifier id, String encoding, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
startGeneralEntity in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void textDecl(String s, String s1, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
textDecl in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void endGeneralEntity(String s, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
endGeneralEntity in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void characters(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
characters in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void ignorableWhitespace(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
ignorableWhitespace in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void endElement(org.apache.xerces.xni.QName qName,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
endElement in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void startCDATA(org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
startCDATA in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void endCDATA(org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
endCDATA in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void endDocument(org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
endDocument in interface org.apache.xerces.xni.XMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void setDocumentSource(org.apache.xerces.xni.parser.XMLDocumentSource xmlDocumentSource)
setDocumentSource in interface org.apache.xerces.xni.XMLDocumentHandlerpublic org.apache.xerces.xni.parser.XMLDocumentSource getDocumentSource()
getDocumentSource in interface org.apache.xerces.xni.XMLDocumentHandlerCopyright © 2007-2012. All Rights Reserved.