|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.query.XQueryFunction
Constructor Summary | |
XQueryFunction()
|
Method Summary | |
void |
checkReferences(StaticContext env)
Type-check references to this function |
UserFunction |
compile(StaticQueryContext env)
|
void |
explain(NamePool pool)
Produce diagnostic output showing the compiled and optimized expression tree for a function |
void |
fixupReferences(StaticContext env)
Fix up references to this function |
SequenceType[] |
getArgumentTypes()
|
int |
getColumnNumber()
Return the column number |
int |
getConstructType()
Get the type of construct. |
Executable |
getExecutable()
Get the Executable (representing a complete stylesheet or query) of which this Container forms part |
java.lang.String |
getFunctionDisplayName(NamePool pool)
|
int |
getFunctionFingerprint()
|
int |
getHostLanguage()
Get the host language (XSLT, XQuery, XPath) used to implement the code in this container |
int |
getLineNumber()
Get the line number of the instruction in the source stylesheet module. |
int |
getLineNumber(int locationId)
|
LocationProvider |
getLocationProvider()
Get the LocationProvider allowing location identifiers to be resolved. |
int |
getNameCode()
|
NamespaceResolver |
getNamespaceResolver()
Get the namespace context of the instruction. |
int |
getNumberOfArguments()
|
int |
getObjectNameCode()
Get a name identifying the object of the expression, for example a function name, template name, variable name, key name, element name, etc. |
UserFunctionParameter[] |
getParameterDefinitions()
|
java.util.Iterator |
getProperties()
Get an iterator over all the properties available. |
java.lang.Object |
getProperty(java.lang.String name)
Get the value of a particular property of the instruction. |
java.lang.String |
getPublicId()
Return the public identifier for the current document event. |
SequenceType |
getResultType()
|
StaticContext |
getStaticContext()
|
java.lang.String |
getSystemId()
Get the system identifier (URI) of the source module containing the instruction. |
java.lang.String |
getSystemId(int locationId)
|
UserFunction |
getUserFunction()
Get the callable compiled function contained within this XQueryFunction definition. |
void |
registerReference(UserFunctionCall ufc)
|
void |
setExecutable(Executable exec)
|
void |
setNameCode(int nameCode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XQueryFunction()
Method Detail |
public void setNameCode(int nameCode)
public int getNameCode()
public java.lang.String getFunctionDisplayName(NamePool pool)
public int getFunctionFingerprint()
public SequenceType getResultType()
public void setExecutable(Executable exec)
public Executable getExecutable()
Container
getExecutable
in interface Container
public LocationProvider getLocationProvider()
getLocationProvider
in interface Container
public StaticContext getStaticContext()
public SequenceType[] getArgumentTypes()
public UserFunctionParameter[] getParameterDefinitions()
public int getNumberOfArguments()
public void registerReference(UserFunctionCall ufc)
public UserFunction compile(StaticQueryContext env) throws StaticError
StaticError
public void fixupReferences(StaticContext env) throws XPathException
XPathException
public void checkReferences(StaticContext env) throws XPathException
XPathException
public void explain(NamePool pool)
pool
- the namepool to be usedpublic UserFunction getUserFunction()
public int getConstructType()
Location
.
getConstructType
in interface InstructionInfo
public int getObjectNameCode()
getObjectNameCode
in interface InstructionInfo
public java.lang.String getSystemId()
getSystemId
in interface InstructionInfo
public int getLineNumber()
getLineNumber
in interface InstructionInfo
public java.lang.String getPublicId()
getPublicId
in interface org.xml.sax.Locator
getSystemId()
public int getColumnNumber()
getColumnNumber
in interface org.xml.sax.Locator
getLineNumber()
public java.lang.String getSystemId(int locationId)
getSystemId
in interface LocationProvider
public int getLineNumber(int locationId)
getLineNumber
in interface LocationProvider
public NamespaceResolver getNamespaceResolver()
getNamespaceResolver
in interface InstructionInfo
public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface InstructionInfo
name
- The name of the required property
public java.util.Iterator getProperties()
getProperties
in interface InstructionInfo
public int getHostLanguage()
getHostLanguage
in interface Container
Configuration.XSLT
or Configuration.XQUERY
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |