FileDocCategorySizeDatePackage
PSVIElementNSImpl.javaAPI DocJava SE 5 API11713Fri Aug 26 14:55:44 BST 2005com.sun.org.apache.xerces.internal.dom

PSVIElementNSImpl

public class PSVIElementNSImpl extends ElementNSImpl implements ElementPSVI
Element namespace implementation; stores PSVI element items.
author
Sandy Gao, IBM
version
$Id: PSVIElementNSImpl.java,v 1.7 2004/02/05 18:26:31 mrglavas Exp $

Fields Summary
static final long
serialVersionUID
Serialization version.
protected XSElementDeclaration
fDeclaration
element declaration
protected XSTypeDefinition
fTypeDecl
type of element, could be xsi:type
protected boolean
fNil
true if clause 3.2 of Element Locally Valid (Element) (3.3.4) is satisfied, otherwise false
protected boolean
fSpecified
false if the element value was provided by the schema; true otherwise.
protected String
fNormalizedValue
schema normalized value property
protected Object
fActualValue
schema actual value
protected short
fActualValueType
schema actual value type
protected ShortList
fItemValueTypes
actual value types if the value is a list
protected XSNotationDeclaration
fNotation
http://www.w3.org/TR/xmlschema-1/#e-notation
protected XSSimpleTypeDefinition
fMemberType
member type definition against which element was validated
protected short
fValidationAttempted
validation attempted: none, partial, full
protected short
fValidity
validity: valid, invalid, unknown
protected StringList
fErrorCodes
error codes
protected String
fValidationContext
validation context: could be QName or XPath expression
protected XSModel
fSchemaInformation
the schema information property
Constructors Summary
public PSVIElementNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName, String localName)
Construct an element node.

    
             
         
                                 
        super(ownerDocument, namespaceURI, qualifiedName, localName);
    
public PSVIElementNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName)
Construct an element node.

        super(ownerDocument, namespaceURI, qualifiedName);
    
Methods Summary
public java.lang.ObjectgetActualNormalizedValue()

        return this.fActualValue;
    
public shortgetActualNormalizedValueType()

        return this.fActualValueType;
    
public com.sun.org.apache.xerces.internal.xs.XSElementDeclarationgetElementDeclaration()
An item isomorphic to the element declaration used to validate this element.

return
an element declaration

        return fDeclaration;
    
public com.sun.org.apache.xerces.internal.xs.StringListgetErrorCodes()
A list of error codes generated from validation attempts. Need to find all the possible subclause reports that need reporting

return
Array of error codes

        return fErrorCodes;
    
public booleangetIsSchemaSpecified()
[schema specified]

see
XML Schema Part 1: Structures [schema specified]
return
false value was specified in schema, true value comes from the infoset

        return fSpecified;
    
public com.sun.org.apache.xerces.internal.xs.ShortListgetItemValueTypes()

        return this.fItemValueTypes;
    
public com.sun.org.apache.xerces.internal.xs.XSSimpleTypeDefinitiongetMemberTypeDefinition()
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
a simple type declaration

        return fMemberType;
    
public booleangetNil()
[nil]

see
XML Schema Part 1: Structures [notation]
return
The notation declaration.

        return fNotation;
    
public java.lang.StringgetSchemaDefault()
[schema default]

return
The canonical lexical representation of the declaration's {value constraint} value.
see
XML Schema Part 1: Structures [schema information]
return
The schema information property if it's the validation root, null otherwise.

        return fSchemaInformation;
    
public java.lang.StringgetSchemaNormalizedValue()
[schema normalized value]

see