| Modifier and Type | Field and Description |
|---|---|
| protected XSAttributeDeclaration | fDeclaration
attribute declaration |
| protected StringList | fErrorCodes
error codes |
| protected StringList | fErrorMessages
error messages |
| protected boolean | fSpecified
If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false |
| 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 |
| pack-priv static final long | serialVersionUID
Serialization version.
|
| Access | Constructor and Description |
|---|---|
| public | PSVIAttrNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName, String localName)
Construct an attribute node. |
| public | PSVIAttrNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName)
Construct an attribute node. |
| 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: false value was specified in schema, true 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.
|
| private void | readObject(ObjectInputStream in)
Deserialize object.
|
| public void | setPSVI(AttributePSVI
the source of attribute PSVI items attr)Copy PSVI properties from another psvi item. |
| private void | writeObject(ObjectOutputStream out)
Serialize object.
|
| fDeclaration | back to summary |
|---|---|
| protected XSAttributeDeclaration fDeclaration attribute declaration | |
| fErrorCodes | back to summary |
|---|---|
| protected StringList fErrorCodes error codes | |
| fErrorMessages | back to summary |
|---|---|
| protected StringList fErrorMessages error messages | |
| fSpecified | back to summary |
|---|---|
| protected boolean fSpecified If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false | |
| 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 | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides org. Serialization version. | |
| PSVIAttrNSImpl | back to summary |
|---|---|
| public PSVIAttrNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName, String localName) Construct an attribute node. | |
| PSVIAttrNSImpl | back to summary |
|---|---|
| public PSVIAttrNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName) Construct an attribute node. | |
| 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 | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException Hides org. Doc from org. Deserialize object. | |
| setPSVI | back to summary |
|---|---|
| public void setPSVI(AttributePSVI attr) Copy PSVI properties from another psvi item.
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException Hides org. Doc from org. Serialize object. | |