public class XhtmlHandler extends DefaultHandler implements LexicalHandler
Constructor and Description |
---|
XhtmlHandler(WikiScannerContext context,
Map<String,TagHandler> extraHandlers) |
XhtmlHandler(WikiScannerContext context,
Map<String,TagHandler> extraHandlers,
CommentHandler commentHandler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] array,
int start,
int length) |
void |
comment(char[] array,
int start,
int length) |
void |
endCDATA() |
void |
endDocument() |
void |
endDTD() |
void |
endElement(String uri,
String localName,
String qName) |
void |
endEntity(String arg0) |
void |
startCDATA() |
void |
startDocument() |
void |
startDTD(String arg0,
String arg1,
String arg2) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
void |
startEntity(String arg0) |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
public XhtmlHandler(WikiScannerContext context, Map<String,TagHandler> extraHandlers)
public XhtmlHandler(WikiScannerContext context, Map<String,TagHandler> extraHandlers, CommentHandler commentHandler)
context
- public void characters(char[] array, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
DefaultHandler.characters(char[], int, int)
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
DefaultHandler.endDocument()
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
DefaultHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
SAXException
DefaultHandler.startDocument()
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
DefaultHandler.startElement(java.lang.String,
java.lang.String, java.lang.String, org.xml.sax.Attributes)
public void comment(char[] array, int start, int length) throws SAXException
comment
in interface LexicalHandler
SAXException
public void endCDATA() throws SAXException
endCDATA
in interface LexicalHandler
SAXException
public void endDTD() throws SAXException
endDTD
in interface LexicalHandler
SAXException
public void endEntity(String arg0) throws SAXException
endEntity
in interface LexicalHandler
SAXException
public void startCDATA() throws SAXException
startCDATA
in interface LexicalHandler
SAXException
public void startDTD(String arg0, String arg1, String arg2) throws SAXException
startDTD
in interface LexicalHandler
SAXException
public void startEntity(String arg0) throws SAXException
startEntity
in interface LexicalHandler
SAXException
Copyright © 2004–2021 XWiki. All rights reserved.