Fields Summary |
---|
protected XSAttributeDeclaration | fDeclarationattribute declaration |
protected XSTypeDefinition | fTypeDecltype of attribute, simpleType |
protected boolean | fSpecifiedIf this attribute was explicitly given a
value in the original document, this is false; otherwise, it is true |
protected String | fNormalizedValueschema normalized value property |
protected Object | fActualValueschema actual value |
protected short | fActualValueTypeschema actual value type |
protected ShortList | fItemValueTypesactual value types if the value is a list |
protected XSSimpleTypeDefinition | fMemberTypemember type definition against which attribute was validated |
protected short | fValidationAttemptedvalidation attempted: none, partial, full |
protected short | fValidityvalidity: valid, invalid, unknown |
protected String[] | fErrorCodeserror codes |
protected String | fValidationContextvalidation context: could be QName or XPath expression |
Methods Summary |
---|
public java.lang.Object | getActualNormalizedValue()
return this.fActualValue;
|
public short | getActualNormalizedValueType()
return this.fActualValueType;
|
public com.sun.org.apache.xerces.internal.xs.XSAttributeDeclaration | getAttributeDeclaration()An item isomorphic to the attribute declaration used to validate
this attribute.
return fDeclaration;
|
public com.sun.org.apache.xerces.internal.xs.StringList | getErrorCodes()A list of error codes generated from validation attempts.
Need to find all the possible subclause reports that need reporting
if (fErrorCodes == null)
return null;
return new StringListImpl(fErrorCodes, fErrorCodes.length);
|
public boolean | getIsSchemaSpecified()[schema specified]
return fSpecified;
|
public com.sun.org.apache.xerces.internal.xs.ShortList | getItemValueTypes()
return this.fItemValueTypes;
|
public com.sun.org.apache.xerces.internal.xs.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.
return fMemberType;
|
public java.lang.String | getSchemaDefault()[schema default]
return fNormalizedValue;
|
public com.sun.org.apache.xerces.internal.xs.XSTypeDefinition | getTypeDefinition()An item isomorphic to the type definition used to validate this element.
return fTypeDecl;
|
public short | getValidationAttempted()Determines the extent to which the document has been validated
return fValidationAttempted;
|
public java.lang.String | getValidationContext()
return fValidationContext;
|
public short | getValidity()Determine the validity of the node with respect
to the validation being attempted
return fValidity;
|
public void | reset()Reset()
fNormalizedValue = null;
fActualValue = null;
fActualValueType = XSConstants.UNAVAILABLE_DT;
fItemValueTypes = null;
fDeclaration = null;
fTypeDecl = null;
fSpecified = false;
fMemberType = null;
fValidationAttempted = AttributePSVI.VALIDATION_NONE;
fValidity = AttributePSVI.VALIDITY_NOTKNOWN;
fErrorCodes = null;
fValidationContext = null;
|