|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.xtcl.filter.XTFilterImpl
net.sf.tomp.xtcl.filter.TeeFilterImpl
public class TeeFilterImpl
DOCUMENT ME!
Field Summary | |
---|---|
protected org.xml.sax.ContentHandler |
contentHandler2
DOCUMENT ME! |
Fields inherited from class net.sf.tomp.xtcl.filter.XTFilterImpl |
---|
contentHandler, dtdHandler, entityResolver, errorHandler, lexicalHandler, locator, parent |
Constructor Summary | |
---|---|
TeeFilterImpl()
|
Method Summary | |
---|---|
void |
endDocument()
Filter an end document event. |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Filter an end element event. |
void |
endPrefixMapping(java.lang.String prefix)
Filter an end Namespace prefix mapping event. |
org.xml.sax.ContentHandler |
getContentHandler2()
Get the content event handler. |
void |
characters(char[] ch,
int start,
int length)
Filter a character data event. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Filter an ignorable whitespace event. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Filter a processing instruction event. |
void |
setContentHandler2(org.xml.sax.ContentHandler handler)
Set the secondary content event handler. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Filter a new document locator event. |
void |
skippedEntity(java.lang.String name)
Filter a skipped entity event. |
void |
startDocument()
Filter a start document event. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Filter a start element event. |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Filter a start Namespace prefix mapping event. |
Methods inherited from class net.sf.tomp.xtcl.filter.XTFilterImpl |
---|
comment, endCDATA, endDTD, endEntity, error, fatalError, getContentHandler, getContext, getDocumentLocator, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getId, getLexicalHandler, getParent, getProperty, notationDecl, parse, parse, resolveEntity, setContentHandler, setContext, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setId, setLexicalHandler, setParameter, setParent, setProperty, setupParse, startCDATA, startDTD, startEntity, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.tomp.xtcl.filter.XTFilter |
---|
getContext, setContext |
Methods inherited from interface org.xml.sax.XMLFilter |
---|
getParent, setParent |
Methods inherited from interface org.xml.sax.XMLReader |
---|
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
Methods inherited from interface org.xml.sax.EntityResolver |
---|
resolveEntity |
Methods inherited from interface org.xml.sax.DTDHandler |
---|
notationDecl, unparsedEntityDecl |
Methods inherited from interface org.xml.sax.ext.LexicalHandler |
---|
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
Methods inherited from interface org.xml.sax.ErrorHandler |
---|
error, fatalError, warning |
Methods inherited from interface net.sf.tomp.general.Parametrized |
---|
setParameter |
Methods inherited from interface net.sf.tomp.general.Identifiable |
---|
getId |
Field Detail |
---|
protected org.xml.sax.ContentHandler contentHandler2
Constructor Detail |
---|
public TeeFilterImpl()
Method Detail |
---|
public void setContentHandler2(org.xml.sax.ContentHandler handler)
setContentHandler2
in interface TeeFilter
handler
- The new content handler.
java.lang.NullPointerException
- If the handler is null.XMLReader.setContentHandler(org.xml.sax.ContentHandler)
public org.xml.sax.ContentHandler getContentHandler2()
getContentHandler2
in interface TeeFilter
XMLReader.getContentHandler()
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
setDocumentLocator
in class XTFilterImpl
locator
- The document locator.ContentHandler.setDocumentLocator(org.xml.sax.Locator)
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class XTFilterImpl
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.startDocument()
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class XTFilterImpl
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.endDocument()
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
startPrefixMapping
in interface org.xml.sax.ContentHandler
startPrefixMapping
in class XTFilterImpl
prefix
- The Namespace prefix.uri
- The Namespace URI.
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.startPrefixMapping(java.lang.String, java.lang.String)
public void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXException
endPrefixMapping
in interface org.xml.sax.ContentHandler
endPrefixMapping
in class XTFilterImpl
prefix
- The Namespace prefix.
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.endPrefixMapping(java.lang.String)
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class XTFilterImpl
uri
- The element's Namespace URI, or the empty string.localName
- The element's local name, or the empty string.qName
- The element's qualified (prefixed) name, or the empty
string.atts
- The element's attributes.
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class XTFilterImpl
uri
- The element's Namespace URI, or the empty string.localName
- The element's local name, or the empty string.qName
- The element's qualified (prefixed) name, or the empty
string.
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class XTFilterImpl
ch
- An array of characters.start
- The starting position in the array.length
- The number of characters to use from the array.
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.characters(char[], int, int)
public void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.ContentHandler
ignorableWhitespace
in class XTFilterImpl
ch
- An array of characters.start
- The starting position in the array.length
- The number of characters to use from the array.
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.ignorableWhitespace(char[], int, int)
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in interface org.xml.sax.ContentHandler
processingInstruction
in class XTFilterImpl
target
- The processing instruction target.data
- The text following the target.
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.processingInstruction(java.lang.String, java.lang.String)
public void skippedEntity(java.lang.String name) throws org.xml.sax.SAXException
skippedEntity
in interface org.xml.sax.ContentHandler
skippedEntity
in class XTFilterImpl
name
- The name of the skipped entity.
org.xml.sax.SAXException
- The client may throw an exception during
processing.ContentHandler.skippedEntity(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |