| Modifier and Type | Field and Description |
|---|---|
| protected XSElementDeclaration | fDeclaration
element declaration |
| protected String[] | fErrors
error codes and error messages |
| protected SchemaGrammar[] | fGrammars
deferred XSModel |
| protected boolean | fIsConstant
true if this object is immutable |
| protected boolean | fNil
true if clause 3.2 of Element Locally Valid (Element) (3.3.4) is satisfied, otherwise false |
| protected XSNotationDeclaration | fNotation
http://www.w3.org/TR/xmlschema-1/#e-notation |
| protected XSModel | fSchemaInformation
the schema information property |
| protected boolean | fSpecified
true if the element value was provided by the schema; false otherwise. |
| protected XSTypeDefinition | fTypeDecl
type of element, could be xsi:type |
| 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 void | |
| public Object | getActualNormalizedValue()
Implements com.
Deprecated
|
| public short | getActualNormalizedValueType()
Implements com.
Deprecated
The actual value built-in datatype, e.g.
|
| public XSElementDeclaration | Returns: an element declarationImplements com. An item isomorphic to the element declaration used to validate this element. |
| public StringList | Returns: Array 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 boolean | Returns: true if clause 3.2 of Element Locally Valid (Element) (3.3.4) above is satisfied, otherwise falseImplements com. [nil] |
| public XSNotationDeclaration | Returns: The notation declaration.Implements com. [notation] |
| public String | Returns: The canonical lexical representation of the declaration's {value constraint} value.Implements com. [schema default] |
| public synchronized XSModel | Returns: The schema information property if it's the validation root, null otherwise.Implements com. [schema information] |
| 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 XSElementDeclaration fDeclaration element declaration | |
| fErrors | back to summary |
|---|---|
| protected String[] fErrors error codes and error messages | |
| fGrammars | back to summary |
|---|---|
| protected SchemaGrammar[] fGrammars deferred XSModel | |
| fIsConstant | back to summary |
|---|---|
| protected boolean fIsConstant true if this object is immutable | |
| fNil | back to summary |
|---|---|
| protected boolean fNil true if clause 3.2 of Element Locally Valid (Element) (3.3.4) is satisfied, otherwise false | |
| fNotation | back to summary |
|---|---|
| protected XSNotationDeclaration fNotation http://www.w3.org/TR/xmlschema-1/#e-notation | |
| fSchemaInformation | back to summary |
|---|---|
| protected XSModel fSchemaInformation the schema information property | |
| fSpecified | back to summary |
|---|---|
| protected boolean fSpecified true if the element value was provided by the schema; false otherwise. | |
| fTypeDecl | back to summary |
|---|---|
| protected XSTypeDefinition fTypeDecl type of element, could be xsi:type | |
| 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 | |
| ElementPSVImpl | back to summary |
|---|---|
| public ElementPSVImpl() | |
| ElementPSVImpl | back to summary |
|---|---|
| public ElementPSVImpl(boolean isConstant, ElementPSVI elementPSVI) | |
| 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 | |
| copySchemaInformationTo | back to summary |
|---|---|
| public void copySchemaInformationTo(ElementPSVImpl target) | |
| 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.
| |
| getElementDeclaration | back to summary |
|---|---|
| public XSElementDeclaration getElementDeclaration() Implements com. An item isomorphic to the element declaration used to validate this element.
| |
| 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() should be called in validator startElement(..) method. | |