|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xpath.Expression
org.apache.xpath.functions.Function
org.apache.xpath.functions.FunctionOneArg
org.apache.xpath.functions.FuncId
public class FuncId
Execute the Id() function.
| Field Summary | |
|---|---|
(package private) static long |
serialVersionUID
|
| Fields inherited from class org.apache.xpath.functions.FunctionOneArg |
|---|
m_arg0 |
| Constructor Summary | |
|---|---|
FuncId()
|
|
| Method Summary | |
|---|---|
XObject |
execute(XPathContext xctxt)
Execute the function. |
private StringVector |
getNodesByID(XPathContext xctxt,
int docContext,
java.lang.String refval,
StringVector usedrefs,
NodeSetDTM nodeSet,
boolean mayBeMore)
Fill in a list with nodes that match a space delimited list if ID ID references. |
| Methods inherited from class org.apache.xpath.functions.FunctionOneArg |
|---|
callArgVisitors, canTraverseOutsideSubtree, checkNumberArgs, deepEquals, fixupVariables, getArg0, getExpression, reportWrongNumberArgs, setArg, setExpression |
| Methods inherited from class org.apache.xpath.functions.Function |
|---|
callVisitors, postCompileStep |
| Methods inherited from class org.apache.xpath.Expression |
|---|
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
| Constructor Detail |
|---|
public FuncId()
| Method Detail |
|---|
private StringVector getNodesByID(XPathContext xctxt,
int docContext,
java.lang.String refval,
StringVector usedrefs,
NodeSetDTM nodeSet,
boolean mayBeMore)
xctxt - The runtime XPath context.docContext - The document where the nodes are being looked for.refval - A space delimited list of ID references.usedrefs - List of references for which nodes were found.nodeSet - Node set where the nodes will be added to.mayBeMore - true if there is another set of nodes to be looked for.
public XObject execute(XPathContext xctxt)
throws javax.xml.transform.TransformerException
execute in class Functionxctxt - The current execution context.
javax.xml.transform.TransformerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||