Package org.fugerit.java.core.xml.sax.ch
Class DoNothingContentHandler
- java.lang.Object
-
- org.fugerit.java.core.xml.sax.ch.DoNothingContentHandler
-
- All Implemented Interfaces:
ContentHandler
public class DoNothingContentHandler extends Object implements ContentHandler
-
-
Field Summary
Fields Modifier and Type Field Description static ContentHandler
DEFAULT
As it is a do nothing implementation, it is safe to use a default (thread safe)
-
Constructor Summary
Constructors Constructor Description DoNothingContentHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] arg0, int arg1, int arg2)
void
endDocument()
void
endElement(String arg0, String arg1, String arg2)
void
endPrefixMapping(String arg0)
void
ignorableWhitespace(char[] arg0, int arg1, int arg2)
void
processingInstruction(String arg0, String arg1)
void
setDocumentLocator(Locator arg0)
void
skippedEntity(String arg0)
void
startDocument()
void
startElement(String arg0, String arg1, String arg2, Attributes arg3)
void
startPrefixMapping(String arg0, String arg1)
-
-
-
Field Detail
-
DEFAULT
public static final ContentHandler DEFAULT
As it is a do nothing implementation, it is safe to use a default (thread safe)
-
-
Method Detail
-
endDocument
public void endDocument() throws SAXException
- Specified by:
endDocument
in interfaceContentHandler
- Throws:
SAXException
-
startDocument
public void startDocument() throws SAXException
- Specified by:
startDocument
in interfaceContentHandler
- Throws:
SAXException
-
characters
public void characters(char[] arg0, int arg1, int arg2) throws SAXException
- Specified by:
characters
in interfaceContentHandler
- Throws:
SAXException
-
ignorableWhitespace
public void ignorableWhitespace(char[] arg0, int arg1, int arg2) throws SAXException
- Specified by:
ignorableWhitespace
in interfaceContentHandler
- Throws:
SAXException
-
endPrefixMapping
public void endPrefixMapping(String arg0) throws SAXException
- Specified by:
endPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
skippedEntity
public void skippedEntity(String arg0) throws SAXException
- Specified by:
skippedEntity
in interfaceContentHandler
- Throws:
SAXException
-
setDocumentLocator
public void setDocumentLocator(Locator arg0)
- Specified by:
setDocumentLocator
in interfaceContentHandler
-
processingInstruction
public void processingInstruction(String arg0, String arg1) throws SAXException
- Specified by:
processingInstruction
in interfaceContentHandler
- Throws:
SAXException
-
startPrefixMapping
public void startPrefixMapping(String arg0, String arg1) throws SAXException
- Specified by:
startPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
endElement
public void endElement(String arg0, String arg1, String arg2) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Throws:
SAXException
-
startElement
public void startElement(String arg0, String arg1, String arg2, Attributes arg3) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Throws:
SAXException
-
-