|
|||||||||
| 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 XSElementDecl |
fDeclaration
element declaration |
protected java.lang.String[] |
fErrorCodes
error codes |
protected XSSimpleType |
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 XSNotationDecl |
fNotation
http://www.w3.org/TR/xmlschema-1/#e-notation |
protected boolean |
fSpecified
false if the element value was provided by the schema; true otherwise. |
protected XSTypeDecl |
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 |
FULL_VALIDATION, INVALID_VALIDITY, NO_VALIDATION, PARTIAL_VALIDATION, UNKNOWN_VALIDITY, VALID_VALIDITY |
| Constructor Summary | |
ElementPSVImpl()
|
|
| Method Summary | |
java.lang.String[] |
getErrorCodes()
A list of error codes generated from validation attempts. |
java.lang.String |
getMemberTypeName()
[member type definition name] |
java.lang.String |
getMemberTypeNamespace()
[member type definition namespace] |
java.lang.String |
getNotationPublicId()
[notation public] |
java.lang.String |
getNotationSystemId()
[notation system] |
java.lang.String |
getSchemaDefault()
[schema default] |
java.lang.String |
getSchemaNamespace()
[schema namespace] |
java.lang.String |
getSchemaNormalizedValue()
[schema normalized value] |
short |
getTypeDefinitionType()
[type definition type] |
java.lang.String |
getTypeName()
[type definition name] |
java.lang.String |
getTypeNamespace()
[type definition namespace] |
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 |
boolean |
isMemberTypeAnonymous()
[member type definition anonymous] |
boolean |
isNil()
[nil] |
boolean |
isSpecified()
[schema specified] |
boolean |
isTypeAnonymous()
[type definition anonymous] |
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 XSElementDecl fDeclaration
protected XSTypeDecl fTypeDecl
protected boolean fNil
protected boolean fSpecified
protected java.lang.String fNormalizedValue
protected XSNotationDecl fNotation
protected XSSimpleType fMemberType
protected short fValidationAttempted
protected short fValidity
protected java.lang.String[] fErrorCodes
protected java.lang.String fValidationContext
| Constructor Detail |
public ElementPSVImpl()
| Method Detail |
public boolean isMemberTypeAnonymous()
isMemberTypeAnonymous in interface org.apache.xerces.xni.psvi.ItemPSVIpublic java.lang.String getMemberTypeName()
getMemberTypeName in interface org.apache.xerces.xni.psvi.ItemPSVIpublic java.lang.String getMemberTypeNamespace()
getMemberTypeNamespace in interface org.apache.xerces.xni.psvi.ItemPSVIpublic 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 isSpecified()
isSpecified in interface org.apache.xerces.xni.psvi.ItemPSVIpublic boolean isTypeAnonymous()
isTypeAnonymous in interface org.apache.xerces.xni.psvi.ItemPSVIpublic java.lang.String getTypeName()
getTypeName in interface org.apache.xerces.xni.psvi.ItemPSVIpublic java.lang.String getTypeNamespace()
getTypeNamespace in interface org.apache.xerces.xni.psvi.ItemPSVIpublic short getTypeDefinitionType()
getTypeDefinitionType 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 java.lang.String[] 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 isNil()
isNil in interface org.apache.xerces.xni.psvi.ElementPSVIpublic java.lang.String getNotationPublicId()
getNotationPublicId in interface org.apache.xerces.xni.psvi.ElementPSVIpublic java.lang.String getNotationSystemId()
getNotationSystemId in interface org.apache.xerces.xni.psvi.ElementPSVIpublic java.lang.String getSchemaNamespace()
getSchemaNamespace 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 | ||||||||