|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
javanet.staxutils.helpers.XMLFilterImplEx
public class XMLFilterImplEx
Extension to XMLFilterImpl that implements LexicalHandler.
| Field Summary | |
|---|---|
protected LexicalHandler |
lexicalHandler
|
protected boolean |
namespacePrefixes
|
| Constructor Summary | |
|---|---|
XMLFilterImplEx()
|
|
| Method Summary | |
|---|---|
void |
comment(char[] ch,
int start,
int length)
|
void |
endCDATA()
|
void |
endDTD()
|
void |
endEntity(String name)
|
LexicalHandler |
getLexicalHandler()
Get the lexical event handler. |
boolean |
getNamespacePrefixes()
|
void |
setLexicalHandler(LexicalHandler handler)
Set the lexical event handler. |
void |
setNamespacePrefixes(boolean v)
|
void |
startCDATA()
|
void |
startDTD(String name,
String publicId,
String systemId)
|
void |
startEntity(String name)
|
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
|---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected LexicalHandler lexicalHandler
protected boolean namespacePrefixes
| Constructor Detail |
|---|
public XMLFilterImplEx()
| Method Detail |
|---|
public void setNamespacePrefixes(boolean v)
public boolean getNamespacePrefixes()
public void setLexicalHandler(LexicalHandler handler)
handler - the new lexical handlerpublic LexicalHandler getLexicalHandler()
public void startDTD(String name,
String publicId,
String systemId)
throws SAXException
startDTD in interface LexicalHandlerSAXException
public void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXException
public void startEntity(String name)
throws SAXException
startEntity in interface LexicalHandlerSAXException
public void endEntity(String name)
throws SAXException
endEntity in interface LexicalHandlerSAXException
public void startCDATA()
throws SAXException
startCDATA in interface LexicalHandlerSAXException
public void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXException
public void comment(char[] ch,
int start,
int length)
throws SAXException
comment in interface LexicalHandlerSAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||