public abstract class AttributeCreator extends SimpleNodeConstructor
selectEVALUATE_METHOD, EVENT_FEED_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, PUSH_SELECTION, staticProperties, WATCH_METHOD| Constructor and Description |
|---|
AttributeCreator() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAnnotation()
Get the type annotation fingerprint to be used on the attribute event
|
int |
getOptions()
Get the options to be used on the attribute event
|
SimpleType |
getSchemaType()
Return the required schema type of the attribute
|
int |
getValidationAction()
Get the validation action requested
|
void |
processValue(java.lang.CharSequence value,
XPathContext context)
Process the value of the node, to create the new node.
|
void |
setAnnotation(int type)
Set the type annotation fingerprint to be used on the attribute event
|
void |
setNoSpecialChars()
Indicate that the attribute value contains no special characters that
might need escaping
|
void |
setOptions(int options)
Set the options to be used on the attribute event
|
void |
setRejectDuplicates()
Indicate that two attributes with the same name are not acceptable.
|
void |
setSchemaType(SimpleType type)
Set the required schema type of the attribute
|
void |
setValidationAction(int action)
Set the validation action required
|
checkContent, computeCardinality, computeSpecialProperties, createsNewNodes, evaluateItem, evaluateNameCode, getContentExpression, iterate, iterateSubExpressions, localTypeCheck, optimize, processLeavingTail, promoteInst, replaceSubExpression, setSelect, simplify, typeCheckassembleParams, assembleTunnelParams, dynamicError, evaluateAsString, getConstructType, getExpressionName, getImplementationMethod, getInstructionName, getInstructionNameCode, getItemType, getIteratorFromProcessMethod, getSourceLocator, isXSLT, process, promoteaddToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, copy, doPromotion, dynamicError, effectiveBooleanValue, evaluatePendingUpdates, explain, explain, getCardinality, getColumnNumber, getColumnNumber, getContainer, getDependencies, getEvaluationMethod, getExecutable, getHostLanguage, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, iterateSameFocusSubExpressions, markTailFunctionCalls, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, toString, typeErrorpublic void setSchemaType(SimpleType type)
type - the required schema type, if validation against a specific type is requiredpublic SimpleType getSchemaType()
public void setValidationAction(int action)
action - the validation action required, for example strict or laxpublic int getValidationAction()
public void setOptions(int options)
options - public void setRejectDuplicates()
public void setNoSpecialChars()
public int getOptions()
public void setAnnotation(int type)
type - the fingerprint of the type annotation to be usedpublic int getAnnotation()
public final void processValue(java.lang.CharSequence value,
XPathContext context)
throws XPathException
processValue in class SimpleNodeConstructorvalue - the string value of the new nodecontext - the dynamic evaluation contextXPathException