| 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 org. ItemPSVI currently has.
|
| public Object | getActualNormalizedValue()
Implements org. [schema normalized value]: Binding specific actual value
or null if the value is in error.
|
| public short | getActualNormalizedValueType()
Implements org. STRING_DT, SHORT_DT.
|
| public XSAttributeDeclaration | Returns: an attribute declarationImplements org. |
| public StringList | Returns: list of error codesImplements org. |
| public StringList | getErrorMessages()
Implements org. StringList if no errors occurred during the
validation attempt.
|
| public boolean | Returns: true - value was specified in schema, false - value comes from the infosetImplements org. |
| public ShortList | getItemValueTypes()
Implements org. actualNormalizedValueType is LIST_DT, the
returned array consists of one type kind which represents the itemType
.
|
| public XSSimpleTypeDefinition | Returns: a simple type declarationImplements org. |
| public String | Returns: The canonical lexical representation of the declaration's {value constraint} value.Implements org. |
| public String | Returns: the normalized value of this item after validationImplements org. |
| public XSValue | getSchemaValue()
Implements org. |
| public XSTypeDefinition | Returns: a type declarationImplements org. |
| public short | Returns: return the [validation attempted] property. The possible values are NO_VALIDATION, PARTIAL_VALIDATION and FULL_VALIDATIONImplements org. |
| public String | getValidationContext()
Implements org. [schema information] property (or this element item
itself if it has such a property).
|
| public short | Returns: return the [validity] property. Possible values are: UNKNOWN_VALIDITY, INVALID_VALIDITY, VALID_VALIDITYImplements org. |
| public boolean | isConstant()
Implements org. true if this specific instance of
ItemPSVI is immutable, otherwise false.
|
| 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 org. Doc from org. Returns a reference to an immutable instance with the same data
that this instance of | |
| getActualNormalizedValue | back to summary |
|---|---|
| public Object getActualNormalizedValue() Implements org. Doc from org.
| |
| getActualNormalizedValueType | back to summary |
|---|---|
| public short getActualNormalizedValueType() Implements org. Doc from org. The actual value built-in datatype, e.g.
| |
| getAttributeDeclaration | back to summary |
|---|---|
| public XSAttributeDeclaration getAttributeDeclaration() Implements org. An item isomorphic to the attribute declaration used to validate this attribute.
| |
| getErrorCodes | back to summary |
|---|---|
| public StringList getErrorCodes() Implements org. 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 org. A list of error messages generated from the validation attempt or
an empty | |
| getIsSchemaSpecified | back to summary |
|---|---|
| public boolean getIsSchemaSpecified() Implements org. [schema specified]
| |
| getItemValueTypes | back to summary |
|---|---|
| public ShortList getItemValueTypes() Implements org. Doc from org. 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 org. 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 org. An item isomorphic to the type definition used to validate this element.
| |
| getValidationAttempted | back to summary |
|---|---|
| public short getValidationAttempted() Implements org. Determines the extent to which the document has been validated
| |
| getValidationContext | back to summary |
|---|---|
| public String getValidationContext() Implements org. Doc from org. The nearest ancestor element information item with a
| |
| getValidity | back to summary |
|---|---|
| public short getValidity() Implements org. Determine the validity of the node with respect to the validation being attempted
| |
| isConstant | back to summary |
|---|---|
| public boolean isConstant() Implements org. Doc from org. Returns | |
| reset | back to summary |
|---|---|
| public void reset() Reset() | |