org.apache.xerces.impl.xs
public class ElementPSVImpl extends Object implements ElementPSVI
Version: $Id: ElementPSVImpl.java,v 1.27 2005/05/25 04:33:07 mrglavas Exp $
Field Summary | |
---|---|
protected Object | fActualValue schema actual value |
protected short | fActualValueType schema actual value type |
protected XSElementDeclaration | fDeclaration element declaration |
protected String[] | fErrorCodes error codes |
protected SchemaGrammar[] | fGrammars deferred XSModel * |
protected ShortList | fItemValueTypes actual value types if the value is a list |
protected XSSimpleTypeDefinition | fMemberType member type definition against which element was validated |
protected boolean | fNil true if clause 3.2 of Element Locally Valid (Element) (3.3.4)
is satisfied, otherwise false |
protected String | fNormalizedValue schema normalized value property |
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 |
Method Summary | |
---|---|
Object | getActualNormalizedValue() |
short | getActualNormalizedValueType() |
XSElementDeclaration | getElementDeclaration()
An item isomorphic to the element declaration used to validate
this element.
|
StringList | getErrorCodes()
A list of error codes generated from validation attempts.
|
boolean | getIsSchemaSpecified()
[schema specified] |
ShortList | getItemValueTypes() |
XSSimpleTypeDefinition | getMemberTypeDefinition()
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.
|
boolean | getNil()
[nil] |
XSNotationDeclaration | getNotation()
[notation] |
String | getSchemaDefault()
[schema default]
|
XSModel | getSchemaInformation()
[schema information] |
String | getSchemaNormalizedValue()
[schema normalized value]
|
XSTypeDefinition | getTypeDefinition()
An item isomorphic to the type definition used to validate this element.
|
short | getValidationAttempted()
Determines the extent to which the document has been validated
|
String | getValidationContext() |
short | getValidity()
Determine the validity of the node with respect
to the validation being attempted
|
void | reset()
Reset() should be called in validator startElement(..) method. |
Returns: an element declaration
Returns: Array of error codes
Returns: true - value was specified in schema, false - value comes from the infoset
Returns: a simple type declaration
Returns: true if clause 3.2 of Element Locally Valid (Element) (3.3.4) above is satisfied, otherwise false
See Also: Returns: The notation declaration. See Also: Returns: The canonical lexical representation of the declaration's {value constraint} value. See Also: Returns: The schema information property if it's the validation root,
null otherwise. See Also: Returns: the normalized value of this item after validation See Also: Returns: a type declaration Returns: return the [validation attempted] property. The possible values are
NO_VALIDATION, PARTIAL_VALIDATION and FULL_VALIDATION Returns: return the [validity] property. Possible values are:
UNKNOWN_VALIDITY, INVALID_VALIDITY, VALID_VALIDITY getNotation
getSchemaDefault
getSchemaInformation
XML Schema Part 1: Structures [schema information]
getSchemaNormalizedValue
getTypeDefinition
getValidationAttempted
getValidationContext
getValidity
reset