| Modifier and Type | Field and Description |
|---|---|
| protected XSAttributeDeclaration | fDeclaration
attribute declaration |
| protected String[] | fErrors
error codes and error messages |
| protected boolean | fIsConstant
true if this object is immutable |
| protected boolean | fSpecified
If this attribute was explicitly given a value in the original document, this is false; otherwise, it is true |
| protected XSTypeDefinition | fTypeDecl
type of attribute, simpleType |
| protected short | fValidationAttempted
validation attempted: none, partial, full |
| protected String | fValidationContext
validation context: could be QName or XPath expression |
| protected short | fValidity
validity: valid, invalid, unknown |
| protected ValidatedInfo | fValue
Schema value |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ItemPSVI | constant()
Implements com. Returns a reference to an immutable instance with the same data
that this instance of |
| public Object | getActualNormalizedValue()
Implements com.
Deprecated
|
| public short | getActualNormalizedValueType()
Implements com.
Deprecated
The actual value built-in datatype, e.g.
|
| public XSAttributeDeclaration | Returns: an attribute declarationImplements com. An item isomorphic to the attribute declaration used to validate this attribute. |
| public StringList | Returns: list of error codesImplements com. A list of error codes generated from validation attempts. |
| public StringList | getErrorMessages()
Implements com. A list of error messages generated from the validation attempt or
an empty |
| public boolean | Returns: true - value was specified in schema, false - value comes from the infosetImplements com. [schema specified] |
| public ShortList | getItemValueTypes()
Implements com.
Deprecated
In the case the actual value represents a list, i.e. the
|
| public XSSimpleTypeDefinition | Returns: a simple type declarationImplements com. If and only if that type definition is a simple type definition with {variety} union, or a complex type definition whose {content type} is a simple thype definition with {variety} union, then an item isomorphic to that member of the union's {member type definitions} which actually validated the element item's normalized value. |
| public String | Returns: The canonical lexical representation of the declaration's {value constraint} value.Implements com. [schema default] |
| public String | Returns: the normalized value of this item after validationImplements com.
Deprecated
[schema normalized value] |
| public XSValue | getSchemaValue()
Implements com. If this item has a simple type definition or a complex type with simple content, then return the value with respect to the simple type. |
| public XSTypeDefinition | Returns: a type declarationImplements com. An item isomorphic to the type definition used to validate this element. |
| public short | Returns: return the [validation attempted] property. The possible values are NO_VALIDATION, PARTIAL_VALIDATION and FULL_VALIDATIONImplements com. Determines the extent to which the document has been validated |
| public String | getValidationContext()
Implements com. The nearest ancestor element information item with a
|
| public short | Returns: return the [validity] property. Possible values are: UNKNOWN_VALIDITY, INVALID_VALIDITY, VALID_VALIDITYImplements com. Determine the validity of the node with respect to the validation being attempted |
| public boolean | isConstant()
Implements com. Returns |
| public void |
| fDeclaration | back to summary |
|---|---|
| protected XSAttributeDeclaration fDeclaration attribute declaration | |
| fErrors | back to summary |
|---|---|
| protected String[] fErrors error codes and error messages | |
| fIsConstant | back to summary |
|---|---|
| protected boolean fIsConstant true if this object is immutable | |
| fSpecified | back to summary |
|---|---|
| protected boolean fSpecified If this attribute was explicitly given a value in the original document, this is false; otherwise, it is true | |
| fTypeDecl | back to summary |
|---|---|
| protected XSTypeDefinition fTypeDecl type of attribute, simpleType | |
| fValidationAttempted | back to summary |
|---|---|
| protected short fValidationAttempted validation attempted: none, partial, full | |
| fValidationContext | back to summary |
|---|---|
| protected String fValidationContext validation context: could be QName or XPath expression | |
| fValidity | back to summary |
|---|---|
| protected short fValidity validity: valid, invalid, unknown | |
| fValue | back to summary |
|---|---|
| protected ValidatedInfo fValue Schema value | |
| AttributePSVImpl | back to summary |
|---|---|
| public AttributePSVImpl() | |
| AttributePSVImpl | back to summary |
|---|---|
| public AttributePSVImpl(boolean isConstant, AttributePSVI attrPSVI) | |
| constant | back to summary |
|---|---|
| public ItemPSVI constant() Implements com. Doc from com. Returns a reference to an immutable instance with the same data
that this instance of | |
| getActualNormalizedValue | back to summary |
|---|---|
| public Object getActualNormalizedValue() Implements com. Doc from com. Deprecated
| |
| getActualNormalizedValueType | back to summary |
|---|---|
| public short getActualNormalizedValueType() Implements com. Doc from com. Deprecated
The actual value built-in datatype, e.g.
| |
| getAttributeDeclaration | back to summary |
|---|---|
| public XSAttributeDeclaration getAttributeDeclaration() Implements com. An item isomorphic to the attribute declaration used to validate this attribute.
| |
| getErrorCodes | back to summary |
|---|---|
| public StringList getErrorCodes() Implements com. A list of error codes generated from validation attempts. Need to find all the possible subclause reports that need reporting
| |
| getErrorMessages | back to summary |
|---|---|
| public StringList getErrorMessages() Implements com. A list of error messages generated from the validation attempt or
an empty | |
| getIsSchemaSpecified | back to summary |
|---|---|
| public boolean getIsSchemaSpecified() Implements com. [schema specified]
| |
| getItemValueTypes | back to summary |
|---|---|
| public ShortList getItemValueTypes() Implements com. Doc from com. Deprecated
In the case the actual value represents a list, i.e. the
<simpleType name="listtype"> <list itemType="positiveInteger"/> </simpleType> <element name="list" type="listtype"/> ... <list>1 2 3</list>The schemaNormalizedValue value is "1 2 3", the
actualNormalizedValueType value is LIST_DT,
and the itemValueTypes is an array of size 1 with the
value POSITIVEINTEGER_DT.
If the actual value represents a list type definition whose item type is a union type definition, i.e. LISTOFUNION_DT,
for each actual value in the list the array contains the
corresponding memberType kind. For example:
<simpleType name='union_type' memberTypes="integer string"/> <simpleType name='listOfUnion'> <list itemType='union_type'/> </simpleType> <element name="list" type="listOfUnion"/> ... <list>1 2 foo</list>The schemaNormalizedValue value is "1 2 foo", the
actualNormalizedValueType is LISTOFUNION_DT
, and the itemValueTypes is an array of size 3 with the
following values: INTEGER_DT, INTEGER_DT, STRING_DT.
| |
| getMemberTypeDefinition | back to summary |
|---|---|
| public XSSimpleTypeDefinition getMemberTypeDefinition() Implements com. If and only if that type definition is a simple type definition with {variety} union, or a complex type definition whose {content type} is a simple thype definition with {variety} union, then an item isomorphic to that member of the union's {member type definitions} which actually validated the element item's normalized value.
| |
| getTypeDefinition | back to summary |
|---|---|
| public XSTypeDefinition getTypeDefinition() Implements com. An item isomorphic to the type definition used to validate this element.
| |
| getValidationAttempted | back to summary |
|---|---|
| public short getValidationAttempted() Implements com. Determines the extent to which the document has been validated
| |
| getValidationContext | back to summary |
|---|---|
| public String getValidationContext() Implements com. Doc from com. The nearest ancestor element information item with a
| |
| getValidity | back to summary |
|---|---|
| public short getValidity() Implements com. Determine the validity of the node with respect to the validation being attempted
| |
| isConstant | back to summary |
|---|---|
| public boolean isConstant() Implements com. Doc from com. Returns | |
| reset | back to summary |
|---|---|
| public void reset() Reset() | |