|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttomp.xtcl.filter.XTFilterImpl
tomp.lxp.DerivationFilter
| Field Summary | |
protected int |
depth
|
protected LXPTreeBuilder |
h
|
protected LXPDocument |
q
|
protected DerivationCommand |
top
|
protected boolean |
topPreservesOriginal
|
| Fields inherited from class tomp.xtcl.filter.XTFilterImpl |
contentHandler, dtdHandler, entityResolver, errorHandler, lexicalHandler, locator, parent |
| Constructor Summary | |
DerivationFilter()
|
|
DerivationFilter(LXPDocument doc)
|
|
| Method Summary | |
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. |
LXPDocument |
getLXPDocument()
|
LXPTreeBuilder |
getLXPTreeBuilder()
|
javax.xml.transform.Result |
getResult()
|
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. |
protected void |
popCommand()
|
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Filter a processing instruction event. |
protected void |
pushCommand(DerivationCommand dc)
|
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, endDocument, endDTD, endEntity, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLexicalHandler, getParent, getProperty, notationDecl, parse, parse, resolveEntity, setContentHandler, setDocumentLocator, 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 |
| Field Detail |
protected LXPTreeBuilder h
protected LXPDocument q
protected int depth
protected DerivationCommand top
protected boolean topPreservesOriginal
| Constructor Detail |
public DerivationFilter()
public DerivationFilter(LXPDocument doc)
| Method Detail |
public javax.xml.transform.Result getResult()
getResult in interface HasResultpublic LXPTreeBuilder getLXPTreeBuilder()
public LXPDocument getLXPDocument()
protected void pushCommand(DerivationCommand dc)
protected void popCommand()
public void startDocument()
throws org.xml.sax.SAXException
XTFilterImpl
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class XTFilterImplorg.xml.sax.SAXException - The client may throw
an exception during processing.
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.
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.
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.
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.
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.
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.
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.
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||