org.apache.xerces.dom
public class PSVIAttrNSImpl extends AttrNSImpl implements AttributePSVI
Version: $Id: PSVIAttrNSImpl.java,v 1.9 2004/10/05 17:12:51 mrglavas Exp $
Field Summary | |
---|---|
protected Object | fActualValue schema actual value |
protected short | fActualValueType schema actual value type |
protected XSAttributeDeclaration | fDeclaration attribute declaration |
protected StringList | fErrorCodes error codes |
protected ShortList | fItemValueTypes actual value types if the value is a list |
protected XSSimpleTypeDefinition | fMemberType member type definition against which attribute was validated |
protected 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 XSTypeDefinition | fTypeDecl type of attribute, simpleType |
protected short | fValidationAttempted validation attempted: none, partial, full |
protected String | fValidationContext validation context: could be QName or XPath expression |
protected short | fValidity validity: valid, invalid, unknown |
Constructor Summary | |
---|---|
PSVIAttrNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName, String localName)
Construct an attribute node. | |
PSVIAttrNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName)
Construct an attribute node. |
Method Summary | |
---|---|
Object | getActualNormalizedValue() |
short | getActualNormalizedValueType() |
XSAttributeDeclaration | getAttributeDeclaration()
An item isomorphic to the attribute declaration used to validate
this attribute.
|
StringList | getErrorCodes()
A list of error codes generated from validation attempts.
|
boolean | getIsSchemaSpecified()
[schema specified] |
ShortList | getItemValueTypes() |
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.
|
String | getSchemaDefault()
[schema default]
|
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
|
String | getValidationContext() |
short | getValidity()
Determine the validity of the node with respect
to the validation being attempted
|
void | setPSVI(AttributePSVI attr)
Copy PSVI properties from another psvi item.
|
Returns: an attribute declaration
Returns: list of error codes
Returns: false value was specified in schema, true value comes from the infoset
Returns: a simple type declaration
Returns: The canonical lexical representation of the declaration's {value constraint} value.
See Also: Returns: the normalized value of this item after validation See Also: Returns: a type declaration Returns: return the [validation attempted] property. The possible values are
NO_VALIDATION, PARTIAL_VALIDATION and FULL_VALIDATION Returns: return the [validity] property. Possible values are:
UNKNOWN_VALIDITY, INVALID_VALIDITY, VALID_VALIDITY Parameters: attr the source of attribute PSVI items getSchemaNormalizedValue
getTypeDefinition
getValidationAttempted
getValidationContext
getValidity
setPSVI