net.sf.saxon.instruct
public abstract class AttributeCreator extends SimpleNodeConstructor
| Method Summary | |
|---|---|
| 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 |
| protected void | processValue(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 |
Returns: the fingerprint of the type annotation to be used
Returns: the option flags to be used
Returns: if validation against a schema type was requested, return the schema type (always a simple type). Otherwise, if validation against a specific type was not requested, return null
Returns: the validation action, for example strict or lax
Parameters: value the string value of the new node context the dynamic evaluation context
Throws: XPathException
Parameters: type the fingerprint of the type annotation to be used
Parameters: options
Parameters: type the required schema type, if validation against a specific type is required
Parameters: action the validation action required, for example strict or lax