nu.validator.xml
Class WiretapXMLReaderWrapper
java.lang.Object
nu.validator.xml.WiretapXMLReaderWrapper
- All Implemented Interfaces:
- XMLReader
public class WiretapXMLReaderWrapper
- extends Object
- implements XMLReader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrappedReader
private final XMLReader wrappedReader
contentHandler
private ContentHandler contentHandler
wiretapContentHander
private ContentHandler wiretapContentHander
lexicalHandler
private LexicalHandler lexicalHandler
wiretapLexicalHandler
private LexicalHandler wiretapLexicalHandler
WiretapXMLReaderWrapper
public WiretapXMLReaderWrapper(XMLReader wrappedReader)
- Parameters:
wrappedReader -
setWiretapContentHander
public void setWiretapContentHander(ContentHandler wiretapContentHander)
- Sets the wiretapContentHander.
- Parameters:
wiretapContentHander - the wiretapContentHander to set
setWiretapLexicalHandler
public void setWiretapLexicalHandler(LexicalHandler wiretapLexicalHandler)
- Sets the wiretapLexicalHandler.
- Parameters:
wiretapLexicalHandler - the wiretapLexicalHandler to set
getContentHandler
public ContentHandler getContentHandler()
- Specified by:
getContentHandler in interface XMLReader
- Returns:
- See Also:
XMLReader.getContentHandler()
getDTDHandler
public DTDHandler getDTDHandler()
- Specified by:
getDTDHandler in interface XMLReader
- Returns:
- See Also:
XMLReader.getDTDHandler()
getEntityResolver
public EntityResolver getEntityResolver()
- Specified by:
getEntityResolver in interface XMLReader
- Returns:
- See Also:
XMLReader.getEntityResolver()
getErrorHandler
public ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler in interface XMLReader
- Returns:
- See Also:
XMLReader.getErrorHandler()
getFeature
public boolean getFeature(String arg0)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getFeature in interface XMLReader
- Parameters:
arg0 -
- Returns:
-
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.getFeature(java.lang.String)
getProperty
public Object getProperty(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getProperty in interface XMLReader
- Parameters:
name -
- Returns:
-
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.getProperty(java.lang.String)
parse
public void parse(InputSource arg0)
throws IOException,
SAXException
- Specified by:
parse in interface XMLReader
- Parameters:
arg0 -
- Throws:
IOException
SAXException- See Also:
XMLReader.parse(org.xml.sax.InputSource)
parse
public void parse(String arg0)
throws IOException,
SAXException
- Specified by:
parse in interface XMLReader
- Parameters:
arg0 -
- Throws:
IOException
SAXException- See Also:
XMLReader.parse(java.lang.String)
setContentHandler
public void setContentHandler(ContentHandler contentHandler)
- Specified by:
setContentHandler in interface XMLReader
- Parameters:
arg0 - - See Also:
XMLReader.setContentHandler(org.xml.sax.ContentHandler)
setDTDHandler
public void setDTDHandler(DTDHandler arg0)
- Specified by:
setDTDHandler in interface XMLReader
- Parameters:
arg0 - - See Also:
XMLReader.setDTDHandler(org.xml.sax.DTDHandler)
setEntityResolver
public void setEntityResolver(EntityResolver arg0)
- Specified by:
setEntityResolver in interface XMLReader
- Parameters:
arg0 - - See Also:
XMLReader.setEntityResolver(org.xml.sax.EntityResolver)
setErrorHandler
public void setErrorHandler(ErrorHandler arg0)
- Specified by:
setErrorHandler in interface XMLReader
- Parameters:
arg0 - - See Also:
XMLReader.setErrorHandler(org.xml.sax.ErrorHandler)
setFeature
public void setFeature(String arg0,
boolean arg1)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setFeature in interface XMLReader
- Parameters:
arg0 - arg1 -
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.setFeature(java.lang.String, boolean)
setProperty
public void setProperty(String name,
Object value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setProperty in interface XMLReader
- Parameters:
name - value -
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.setProperty(java.lang.String,
java.lang.Object)
updateWiretap
private void updateWiretap()