|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttomp.xtcl.filter.XTFilterImpl
tomp.xtcl.filter.TeeFilterImpl
| Field Summary | |
protected org.xml.sax.ContentHandler |
contentHandler2
|
| Fields inherited from class 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 tomp.xtcl.filter.XTFilterImpl |
comment, endCDATA, endDTD, endEntity, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLexicalHandler, getParent, getProperty, notationDecl, parse, parse, resolveEntity, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, 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 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 tomp.general.Parametrized |
setParameter |
| 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 TeeFilterjava.lang.NullPointerException - If the handler
is null.XMLReader.setContentHandler(org.xml.sax.ContentHandler)public org.xml.sax.ContentHandler getContentHandler2()
getContentHandler2 in interface TeeFilterXMLReader.getContentHandler()public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator in interface org.xml.sax.ContentHandlersetDocumentLocator in class XTFilterImpllocator - The document locator.ContentHandler.setDocumentLocator(org.xml.sax.Locator)
public void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class XTFilterImplorg.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.ContentHandlerendDocument in class XTFilterImplorg.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.ContentHandlerstartPrefixMapping in class XTFilterImplprefix - 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.ContentHandlerendPrefixMapping in class XTFilterImplprefix - 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.ContentHandlerstartElement in class XTFilterImpluri - 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.ContentHandlerendElement in class XTFilterImpluri - 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.ContentHandlercharacters in class XTFilterImplch - 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.ContentHandlerignorableWhitespace in class XTFilterImplch - 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.ContentHandlerprocessingInstruction in class XTFilterImpltarget - 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.ContentHandlerskippedEntity in class XTFilterImplname - 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 | |||||||||