Fields Summary |
---|
static final long | serialVersionUIDSerialization version. |
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 true; otherwise, it is false |
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 StringList | 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 XSAttributeDeclaration | getAttributeDeclaration()An item isomorphic to the attribute declaration used to validate
this attribute.
return fDeclaration;
|
public StringList | getErrorCodes()A list of error codes generated from validation attempts.
Need to find all the possible subclause reports that need reporting
return fErrorCodes;
|
public boolean | getIsSchemaSpecified()[schema specified]
return fSpecified;
|
public ShortList | getItemValueTypes()
return this.fItemValueTypes;
|
public 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 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;
|
private void | readObject(java.io.ObjectInputStream in)
throw new NotSerializableException(getClass().getName());
|
public void | setPSVI(org.apache.xerces.xs.AttributePSVI attr)Copy PSVI properties from another psvi item.
this.fDeclaration = attr.getAttributeDeclaration();
this.fValidationContext = attr.getValidationContext();
this.fValidity = attr.getValidity();
this.fValidationAttempted = attr.getValidationAttempted();
this.fErrorCodes = attr.getErrorCodes();
this.fNormalizedValue = attr.getSchemaNormalizedValue();
this.fActualValue = attr.getActualNormalizedValue();
this.fActualValueType = attr.getActualNormalizedValueType();
this.fItemValueTypes = attr.getItemValueTypes();
this.fTypeDecl = attr.getTypeDefinition();
this.fMemberType = attr.getMemberTypeDefinition();
this.fSpecified = attr.getIsSchemaSpecified();
|
private void | writeObject(java.io.ObjectOutputStream out)
throw new NotSerializableException(getClass().getName());
|