| net.sf.saxon.type.AtomicType
All known Subclasses: net.sf.saxon.type.ExternalObjectType, net.sf.saxon.type.BuiltInAtomicType,
AtomicType | public interface AtomicType extends SimpleType,ItemType(Code) | | Marker interface for atomic types (these are either built-in atomic types
or user-defined atomic types). An AtomicType is both an ItemType (a possible type
for items in a sequence) and a SchemaType (a possible type for validating and
annotating nodes).
|
makeDerivedValue | public AtomicValue makeDerivedValue(AtomicValue primValue, CharSequence lexicalValue, boolean validate)(Code) | | Factory method to create values of a derived atomic type. This method
is not used to create values of a built-in type, even one that is not
primitive.
Parameters: primValue - the value in the value space of the primitive type Parameters: lexicalValue - the value in the lexical space. If null, the string value of primValueis used. This value is checked against the pattern facet (if any) Parameters: validate - true if the value is to be validated against the facets of the derivedtype; false if the caller knows that the value is already valid. the derived atomic value if validation succeeds, or an ErrorValue otherwise. The ErrorValueencapsulates the exception that occurred; it is the caller's responsibility to check for this. |
|
|