|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.instruct.Instruction
net.sf.saxon.instruct.FunctionInstr
Handler for xsl:function elements in stylesheet (XSLT 2.0).
Attributes:
name gives the name of the function
saxon:memo-function=yes|no indicates whether it acts as a memo function.
Field Summary |
Fields inherited from class net.sf.saxon.instruct.Instruction |
children |
Constructor Summary | |
FunctionInstr()
A FunctionInstr is constructed in two stages. |
Method Summary | |
Value |
call(Value[] actualArgs,
Controller controller)
Call this function |
java.lang.String |
getFunctionName()
|
java.lang.String |
getInstructionName()
Get the name of the instruction. |
int |
getLineNumber()
Get the line number of the instruction in the source stylesheet module. |
java.util.HashMap |
getProperties()
Get all the properties of the instruction. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value of a particular property of the instruction. |
java.lang.String |
getSystemId()
Get the system identifier (URI) of the source stylesheet module containing the instruction. |
void |
initialize(Sequence body,
java.lang.String baseURI,
java.lang.String displayName,
boolean memoFunction)
|
TailCall |
processLeavingTail(XPathContext context)
Dummy processLeavingTail() method |
void |
setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
Get the name of this instruction for diagnostic and tracing purposes |
void |
setLineNumber(int lineNumber)
|
Methods inherited from class net.sf.saxon.instruct.Instruction |
assembleParams, assembleTunnelParams, getChildren, getColumnNumber, getInstructionDetails, getPublicId, getResultType, getSystemId, process, processChildren, processChildrenLeavingTail, recoverableError, setChildren, setSourceLocation, styleError, styleError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FunctionInstr()
Method Detail |
public void initialize(Sequence body, java.lang.String baseURI, java.lang.String displayName, boolean memoFunction)
public void setLineNumber(int lineNumber)
public int getLineNumber()
InstructionInfo
getLineNumber
in interface InstructionInfo
getLineNumber
in class Instruction
public java.lang.String getSystemId()
InstructionInfo
getSystemId
in interface InstructionInfo
getSystemId
in class Instruction
public java.lang.Object getProperty(java.lang.String propertyName)
InstructionInfo
getProperty
in interface InstructionInfo
propertyName
- The name of the required property
public java.util.HashMap getProperties()
InstructionInfo
getProperties
in interface InstructionInfo
public void setInstructionDetails(Controller controller, NamePool namePool, InstructionDetails details)
setInstructionDetails
in class Instruction
public java.lang.String getInstructionName()
InstructionInfo
getInstructionName
in interface InstructionInfo
getInstructionName
in class Instruction
public java.lang.String getFunctionName()
getFunctionName
in interface CallableFunction
public TailCall processLeavingTail(XPathContext context)
processLeavingTail
in class Instruction
context
- The dynamic context of the transformation, giving access to the current node,
the current variables, etc.
public Value call(Value[] actualArgs, Controller controller) throws javax.xml.transform.TransformerException
call
in interface CallableFunction
javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |