|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.apache.xerces.impl.xs.ElementPSVImpl
Element PSV infoset augmentations implementation. The following information will be available at the startElement call: name, namespace, type, notation, validation context The following information will be available at the endElement call: nil, specified, normalized value, member type, validity, error codes, default
| Field Summary | |
protected XSElementDeclaration |
fDeclaration
element declaration |
protected java.lang.String[] |
fErrorCodes
error codes |
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 java.lang.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 java.lang.String |
fValidationContext
validation context: could be QName or XPath expression |
protected short |
fValidity
validity: valid, invalid, unknown |
| Fields inherited from interface org.apache.xerces.xni.psvi.ItemPSVI |
VALIDATION_FULL, VALIDATION_NONE, VALIDATION_PARTIAL, VALIDITY_INVALID, VALIDITY_NOTKNOWN, VALIDITY_VALID |
| Constructor Summary | |
ElementPSVImpl()
|
|
| Method Summary | |
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 |
getIsNil()
[nil] |
boolean |
getIsSchemaSpecified()
[schema specified] |
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. |
XSNotationDeclaration |
getNotation()
[notation] |
java.lang.String |
getSchemaDefault()
[schema default] |
XSModel |
getSchemaInformation()
[schema information] |
java.lang.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 |
java.lang.String |
getValidationContext()
[validation context] // REVISIT: what the return type should be? Should we return QName/XPath/ or element info item..? |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected XSElementDeclaration fDeclaration
protected XSTypeDefinition fTypeDecl
protected boolean fNil
protected boolean fSpecified
protected java.lang.String fNormalizedValue
protected XSNotationDeclaration fNotation
protected XSSimpleTypeDefinition fMemberType
protected short fValidationAttempted
protected short fValidity
protected java.lang.String[] fErrorCodes
protected java.lang.String fValidationContext
protected XSModel fSchemaInformation
| Constructor Detail |
public ElementPSVImpl()
| Method Detail |
public java.lang.String getSchemaDefault()
getSchemaDefault in interface org.apache.xerces.xni.psvi.ItemPSVIpublic java.lang.String getSchemaNormalizedValue()
getSchemaNormalizedValue in interface org.apache.xerces.xni.psvi.ItemPSVIpublic boolean getIsSchemaSpecified()
getIsSchemaSpecified in interface org.apache.xerces.xni.psvi.ItemPSVIpublic short getValidationAttempted()
getValidationAttempted in interface org.apache.xerces.xni.psvi.ItemPSVIpublic short getValidity()
getValidity in interface org.apache.xerces.xni.psvi.ItemPSVIpublic StringList getErrorCodes()
getErrorCodes in interface org.apache.xerces.xni.psvi.ItemPSVIpublic java.lang.String getValidationContext()
org.apache.xerces.xni.psvi.ItemPSVIgetValidationContext in interface org.apache.xerces.xni.psvi.ItemPSVIorg.apache.xerces.xni.psvi.ItemPSVIpublic boolean getIsNil()
public XSNotationDeclaration getNotation()
getNotation in interface org.apache.xerces.xni.psvi.ElementPSVIpublic XSTypeDefinition getTypeDefinition()
getTypeDefinition in interface org.apache.xerces.xni.psvi.ItemPSVIpublic XSSimpleTypeDefinition getMemberTypeDefinition()
getMemberTypeDefinition in interface org.apache.xerces.xni.psvi.ItemPSVIpublic XSElementDeclaration getElementDeclaration()
getElementDeclaration in interface org.apache.xerces.xni.psvi.ElementPSVIpublic XSModel getSchemaInformation()
getSchemaInformation in interface org.apache.xerces.xni.psvi.ElementPSVIpublic void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||