|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.xforms.xpath.xalan.XPathLookup
This class analyzes an XPath expression (possibly by executing it) and collects the referants of that expression. it is necessary to execute an arbitrary XPath expression and return the list of all nodes that the expression references in location paths. For instance, the following expression : "sum(/doc/item[@level='3']/@value) * /doc/tax/@tax" references value, level and tax attributes.
| Field Summary | |
protected static boolean |
canTrace
|
protected static java.lang.reflect.Method |
listenerSetter
|
protected ModelContext |
modelContext
|
| Constructor Summary | |
XPathLookup()
|
|
| Method Summary | |
void |
error(javax.xml.transform.TransformerException exception)
|
void |
evalWithTrace(org.w3c.dom.Node contextNode,
java.lang.String query,
org.w3c.dom.Node namespaceNode,
LookupResult result)
evalutate the XPath and return the result & all referred nodes |
void |
fatalError(javax.xml.transform.TransformerException exception)
|
void |
generated(org.apache.xalan.trace.GenerateEvent ev)
Method that is called just after the formatter listener is called. |
protected void |
nodeSetSelected(org.apache.xml.dtm.DTMIterator nodes)
|
void |
selected(org.apache.xalan.trace.SelectionEvent ev)
Method that is called just after the formatter listener is called. |
void |
setModelContext(ModelContext context)
|
void |
trace(org.apache.xalan.trace.TracerEvent ev)
Method that is called when a trace event occurs. |
void |
warning(javax.xml.transform.TransformerException exception)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static java.lang.reflect.Method listenerSetter
protected static boolean canTrace
protected ModelContext modelContext
| Constructor Detail |
public XPathLookup()
| Method Detail |
public void setModelContext(ModelContext context)
protected void nodeSetSelected(org.apache.xml.dtm.DTMIterator nodes)
public void trace(org.apache.xalan.trace.TracerEvent ev)
trace in interface org.apache.xalan.trace.TraceListenerev - the trace event.
public void selected(org.apache.xalan.trace.SelectionEvent ev)
throws javax.xml.transform.TransformerException
selected in interface org.apache.xalan.trace.TraceListenerev - the generate event.
javax.xml.transform.TransformerExceptionpublic void generated(org.apache.xalan.trace.GenerateEvent ev)
generated in interface org.apache.xalan.trace.TraceListenerev - the generate event.
public void evalWithTrace(org.w3c.dom.Node contextNode,
java.lang.String query,
org.w3c.dom.Node namespaceNode,
LookupResult result)
throws javax.xml.transform.TransformerException
result - store the result in to this object
javax.xml.transform.TransformerExceptionpublic void error(javax.xml.transform.TransformerException exception)
error in interface javax.xml.transform.ErrorListenerpublic void fatalError(javax.xml.transform.TransformerException exception)
fatalError in interface javax.xml.transform.ErrorListenerpublic void warning(javax.xml.transform.TransformerException exception)
warning in interface javax.xml.transform.ErrorListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||