net.sf.saxon.functions
Class NamePart
- EvaluableItem, InstructionInfoProvider, SequenceIterable, Serializable, SourceLocator
This class supports the name(), local-name(), and namespace-uri() functions
from XPath 1.0, and also the XSLT generate-id() function
addContextDocumentArgument , addDocToPathMap , checkArguments , computeCardinality , computeSpecialProperties , copy , getDetails , getErrorCodeForTypeErrors , getItemType , getRequiredType , makeSystemFunction , optimize , setDetails , useContextItemAsDefault |
addExternalFunctionCallToPathMap , checkArgumentCount , checkArguments , equals , explain , getArguments , getDisplayName , getFunctionName , getNumberOfArguments , hashCode , iterateSubExpressions , optimize , preEvaluate , promote , replaceSubExpression , setArguments , setFunctionName , simplify , simplifyArguments , toString , typeCheck |
addToPathMap , adoptChildExpression , checkPermittedContents , computeCardinality , computeDependencies , computeSpecialProperties , computeStaticProperties , copy , display , doPromotion , dynamicError , effectiveBooleanValue , evaluateAsString , evaluateItem , explain , explain , findParentOf , getCardinality , getColumnNumber , getConstructType , getContainer , getDependencies , getExecutable , getHostLanguage , getImplementationMethod , getInstructionInfo , getIntrinsicDependencies , getItemType , getLineNumber , getLocationId , getLocationProvider , getPublicId , getSlotsUsed , getSpecialProperties , getSystemId , hasLoopingSubexpression , implementsStaticTypeCheck , iterate , iterateEvents , iterateSubExpressions , markTailFunctionCalls , optimize , process , promote , replaceSubExpression , resetLocalStaticProperties , setContainer , setFiltered , setFlattened , setLocationId , simplify , staticTypeCheck , suppressValidation , toString , typeCheck , typeError |
DOCUMENT_URI
public static final int DOCUMENT_URI
GENERATE_ID
public static final int GENERATE_ID
LOCAL_NAME
public static final int LOCAL_NAME
NAME
public static final int NAME
NAMESPACE_URI
public static final int NAMESPACE_URI
NODE_NAME
public static final int NODE_NAME
computeSpecialProperties
public int computeSpecialProperties()
Determine the special properties of this expression. The generate-id()
function is a special case: it is considered creative if its operand
is creative, so that generate-id(f()) is not taken out of a loop
- computeSpecialProperties in interface SystemFunction
isGenerateIdFunction
public static boolean isGenerateIdFunction(Expression exp)
Test whether an expression is a call on the generate-id() function
exp
- the expression to be tested
- true if exp is a call on generate-id(), else false