FileDocCategorySizeDatePackage
PSVIElementNSImpl.javaAPI DocApache Xerces 3.0.110063Fri Sep 14 20:33:52 BST 2007org.apache.xerces.dom

PSVIElementNSImpl

public class PSVIElementNSImpl extends ElementNSImpl implements org.apache.xerces.xs.ElementPSVI
Element namespace implementation; stores PSVI element items.
xerces.internal
author
Sandy Gao, IBM
version
$Id: PSVIElementNSImpl.java 449328 2006-09-23 22:58:23Z mrglavas $

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 XSElementDeclarationgetElementDeclaration()
An item isomorphic to the element declaration used to validate this element.

return
an element declaration

        return fDeclaration;
    
public 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 ShortListgetItemValueTypes()

        return this.fItemValueTypes;
    
public 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