|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.impl.xs.AttributePSVImpl
Attribute PSV infoset augmentations implementation. The PSVI information for attributes will be available at the startElement call.
Field Summary | |
protected XSAttributeDecl |
fDeclaration
attribute declaration |
protected java.util.Vector |
fErrorCodes
error codes |
protected XSSimpleType |
fMemberType
member type definition against which attribute was validated |
protected java.lang.String |
fNormalizedValue
schema normalized value property |
protected boolean |
fSpecified
If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false |
protected XSTypeDecl |
fTypeDecl
type of attribute, simpleType |
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 | |
AttributePSVImpl()
|
Method Summary | |
void |
addErrorCode(java.lang.String key)
|
XSAttributeDecl |
getAttributeDecl()
REVISIT: temprory method to return the internal representation of the attribute declaration used to validate this attribute. |
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 |
getSchemaDefault()
[schema default] |
java.lang.String |
getSchemaNormalizedValue()
[schema normalized value] |
XSTypeDecl |
getTypeDefinition()
REVISIT: temprory method to return the internal representation of the type definition used to validate this attribute. |
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 |
isSpecified()
[schema specified] |
boolean |
isTypeAnonymous()
[type definition anonymous] |
void |
reset()
Reset() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected XSAttributeDecl fDeclaration
protected XSTypeDecl fTypeDecl
protected boolean fSpecified
protected java.lang.String fNormalizedValue
protected XSSimpleType fMemberType
protected short fValidationAttempted
protected short fValidity
protected java.util.Vector fErrorCodes
protected java.lang.String fValidationContext
Constructor Detail |
public AttributePSVImpl()
Method Detail |
public boolean isMemberTypeAnonymous()
isMemberTypeAnonymous
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String getMemberTypeName()
getMemberTypeName
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String getMemberTypeNamespace()
getMemberTypeNamespace
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String getSchemaDefault()
getSchemaDefault
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String getSchemaNormalizedValue()
getSchemaNormalizedValue
in interface org.apache.xerces.xni.psvi.ItemPSVI
public boolean isSpecified()
isSpecified
in interface org.apache.xerces.xni.psvi.ItemPSVI
public boolean isTypeAnonymous()
isTypeAnonymous
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String getTypeName()
getTypeName
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String getTypeNamespace()
getTypeNamespace
in interface org.apache.xerces.xni.psvi.ItemPSVI
public short getTypeDefinitionType()
getTypeDefinitionType
in interface org.apache.xerces.xni.psvi.ItemPSVI
public short getValidationAttempted()
getValidationAttempted
in interface org.apache.xerces.xni.psvi.ItemPSVI
public short getValidity()
getValidity
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String[] getErrorCodes()
getErrorCodes
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String getValidationContext()
org.apache.xerces.xni.psvi.ItemPSVI
getValidationContext
in interface org.apache.xerces.xni.psvi.ItemPSVI
org.apache.xerces.xni.psvi.ItemPSVI
public XSTypeDecl getTypeDefinition()
public XSAttributeDecl getAttributeDecl()
public void reset()
public void addErrorCode(java.lang.String key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |