public class IdentityField extends FieldOrSelector
selectExpression| Constructor and Description |
|---|
IdentityField(java.lang.String xpath)
Creates a new IdentityField.
|
| Modifier and Type | Method and Description |
|---|---|
BuiltInAtomicType |
getBuiltInBaseType() |
int |
getCardinality(ExpressionVisitor visitor,
ContextItemStaticInfo contextItemType)
Get the static cardinality of the expression, that is the number of nodes the field xpath will select
for each node selected by the selector xpath.
|
boolean |
isListValued() |
void |
setBuiltInBaseType(BuiltInAtomicType builtInBaseType,
boolean listValued) |
getNamespaceContext, getSelectExpression, getSelection, getXPath, getXPathDefaultNamespace, setNamespaceContext, setSelectExpression, setSelection, setXPath, setXPathDefaultNamespaceelaborate, fixup, getColumnNumber, getConfiguration, getFixupStatus, getGeneratedId, getLineNumber, getPublicId, getRedefinitionLevel, getSchemaDocumentURI, getSystemId, getValidationStatus, hasSameLocation, isValidationNeeded, lookForCycles, makeXPathExpressionPropertyRecord, saveLocation, setConfiguration, setFixupStatus, setGeneratedId, setLineNumber, setLocator, setRedefinitionLevel, setSchemaDocumentURI, setSystemId, setValidationStatuspublic IdentityField(java.lang.String xpath)
xpath - the xpath for the IdentityField. Must not be null.public BuiltInAtomicType getBuiltInBaseType()
public boolean isListValued()
public void setBuiltInBaseType(BuiltInAtomicType builtInBaseType, boolean listValued)
public int getCardinality(ExpressionVisitor visitor, ContextItemStaticInfo contextItemType) throws XPathException
visitor - the expression visitorcontextItemType - the type of the context item, and information about whether a context item will
always be provided or notXPathException - if an error is found during the evaluationCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.