Top Description Fields Constructors Methods
com.sun.org.apache.xpath.internal.functions

public final Class FuncHere

extends Function
Class Inheritance
Imports
com.sun.org.apache.xml.internal.dtm.DTM, com.sun.org.apache.xml.internal.utils.QName, com.sun.org.apache.xpath.internal.NodeSetDTM, .XPathContext, com.sun.org.apache.xpath.internal.objects.XNodeSet, .XObject, com.sun.org.apache.xpath.internal.res.XPATHErrorResources, java.util.List, javax.xml.transform.TransformerException, org.w3c.dom.Document, .Node

Execute the XML Signature here() function.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XObject
execute(XPathContext
The execution current context.
xctxt
)

Overrides com.sun.org.apache.xpath.internal.functions.Function.execute.

Execute an XPath function object.

public void
fixupVariables(List<QName>
List of QNames that correspond to variables. This list should be searched backwards for the first qualified name that corresponds to the variable reference qname. The position of the QName in the vector from the start of the vector will be its position in the stack frame (but variables above the globalsTop value will need to be offset to the current stack frame). NEEDSDOC @param globalsSize
vars
,
int globalsSize)

Implements abstract com.sun.org.apache.xpath.internal.Expression.fixupVariables.

This function is used to fixup variables from QNames to stack frame indexes at stylesheet build time.

private static Document
Inherited from com.sun.org.apache.xpath.internal.functions.Function:
callArgVisitorscallVisitorscheckNumberArgsdeepEqualspostCompileStepreportWrongNumberArgssetArg

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.sun.org.apache.xpath.internal.functions.Function.serialVersionUID.

Constructor Detail

FuncHereback to summary
public FuncHere()

Method Detail

executeback to summary
public XObject execute(XPathContext xctxt) throws TransformerException

Overrides com.sun.org.apache.xpath.internal.functions.Function.execute.

Doc from com.sun.org.apache.xpath.internal.functions.Function.execute.

Execute an XPath function object. The function must return a valid object.

Parameters
xctxt:XPathContext

The execution current context.

Returns:XObject

A valid XObject.

Annotations
@Override
Exceptions
TransformerException:

Doc from com.sun.org.apache.xpath.internal.Expression.execute.

if a runtime exception occurs.

fixupVariablesback to summary
public void fixupVariables(List<QName> vars, int globalsSize)

Implements abstract com.sun.org.apache.xpath.internal.Expression.fixupVariables.

Doc from com.sun.org.apache.xpath.internal.Expression.fixupVariables.

This function is used to fixup variables from QNames to stack frame indexes at stylesheet build time.

Parameters
vars:List<QName>

List of QNames that correspond to variables. This list should be searched backwards for the first qualified name that corresponds to the variable reference qname. The position of the QName in the vector from the start of the vector will be its position in the stack frame (but variables above the globalsTop value will need to be offset to the current stack frame). NEEDSDOC @param globalsSize

Annotations
@Override
getOwnerDocumentback to summary
private static Document getOwnerDocument(Node node)