net.sf.saxon.functions
public class NamePart extends SystemFunction
| Field Summary | |
|---|---|
| static int | DOCUMENT_URI |
| static int | GENERATE_ID |
| static int | LOCAL_NAME |
| static int | NAME |
| static int | NAMESPACE_URI |
| static int | NODE_NAME |
| Method Summary | |
|---|---|
| int | computeSpecialProperties()
Determine the special properties of this expression. |
| Item | evaluateItem(XPathContext c)
Evaluate the function in a string context |
| static boolean | isGenerateIdFunction(Expression exp)
Test whether an expression is a call on the generate-id() function |
| Expression | simplify(ExpressionVisitor visitor)
Simplify and validate. |
Parameters: exp the expression to be tested
Returns: true if exp is a call on generate-id(), else false
Parameters: visitor an expression visitor