|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.dom.NodeImpl | +--org.apache.xerces.dom.ChildNode | +--org.apache.xerces.dom.ParentNode | +--org.apache.xerces.dom.ElementImpl | +--org.apache.xerces.dom.ElementNSImpl | +--org.apache.xerces.dom.PSVIElementNSImpl
Element namespace implementation; stores PSVI element items.
Field Summary | |
protected XSElementDeclaration |
fDeclaration
element declaration |
protected StringList |
fErrorCodes
error codes |
protected XSSimpleTypeDefinition |
fMemberType
member type definition against which element was validated |
protected boolean |
fNil
true if clause 3.2 of Element Locally Valid (Element) (3.3.4) is satisfied, otherwise false |
protected java.lang.String |
fNormalizedValue
schema normalized value property |
protected XSNotationDeclaration |
fNotation
http://www.w3.org/TR/xmlschema-1/#e-notation |
protected XSModel |
fSchemaInformation
the schema information property |
protected boolean |
fSpecified
false if the element value was provided by the schema; true otherwise. |
protected XSTypeDefinition |
fTypeDecl
type of element, could be xsi:type |
protected short |
fValidationAttempted
validation attempted: none, partial, full |
protected java.lang.String |
fValidationContext
validation context: could be QName or XPath expression |
protected short |
fValidity
validity: valid, invalid, unknown |
Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
localName, namespaceURI |
Fields inherited from class org.apache.xerces.dom.ElementImpl |
attributes, name |
Fields inherited from class org.apache.xerces.dom.ParentNode |
firstChild, fNodeListCache, ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
Fields inherited from interface org.apache.xerces.xni.psvi.ItemPSVI |
VALIDATION_FULL, VALIDATION_NONE, VALIDATION_PARTIAL, VALIDITY_INVALID, VALIDITY_NOTKNOWN, VALIDITY_VALID |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
PSVIElementNSImpl(CoreDocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName)
Construct an element node. |
|
PSVIElementNSImpl(CoreDocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String localName)
Construct an element node. |
Method Summary | |
XSElementDeclaration |
getElementDeclaration()
An item isomorphic to the element declaration used to validate this element. |
StringList |
getErrorCodes()
A list of error codes generated from validation attempts. |
boolean |
getIsNil()
[nil] |
boolean |
getIsSchemaSpecified()
[schema specified] |
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. |
XSNotationDeclaration |
getNotation()
[notation] |
java.lang.String |
getSchemaDefault()
[schema default] |
XSModel |
getSchemaInformation()
[schema information] |
java.lang.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 |
java.lang.String |
getValidationContext()
[validation context] // REVISIT: what the return type should be? Should we return QName/XPath/ or element info item..? |
short |
getValidity()
Determine the validity of the node with respect to the validation being attempted |
void |
setPSVI(org.apache.xerces.xni.psvi.ElementPSVI elem)
Copy PSVI properties from another psvi item. |
Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, setPrefix, setType, setValues |
Methods inherited from class org.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class org.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, isSupported, removeChild, replaceChild, setNodeValue |
Field Detail |
protected XSElementDeclaration fDeclaration
protected XSTypeDefinition fTypeDecl
protected boolean fNil
protected boolean fSpecified
protected java.lang.String fNormalizedValue
protected XSNotationDeclaration fNotation
protected XSSimpleTypeDefinition fMemberType
protected short fValidationAttempted
protected short fValidity
protected StringList fErrorCodes
protected java.lang.String fValidationContext
protected XSModel fSchemaInformation
Constructor Detail |
public PSVIElementNSImpl(CoreDocumentImpl ownerDocument, java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String localName)
public PSVIElementNSImpl(CoreDocumentImpl ownerDocument, java.lang.String namespaceURI, java.lang.String qualifiedName)
Method Detail |
public java.lang.String getSchemaDefault()
getSchemaDefault
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String getSchemaNormalizedValue()
getSchemaNormalizedValue
in interface org.apache.xerces.xni.psvi.ItemPSVI
public boolean getIsSchemaSpecified()
getIsSchemaSpecified
in interface org.apache.xerces.xni.psvi.ItemPSVI
public short getValidationAttempted()
getValidationAttempted
in interface org.apache.xerces.xni.psvi.ItemPSVI
public short getValidity()
getValidity
in interface org.apache.xerces.xni.psvi.ItemPSVI
public StringList getErrorCodes()
getErrorCodes
in interface org.apache.xerces.xni.psvi.ItemPSVI
public java.lang.String getValidationContext()
org.apache.xerces.xni.psvi.ItemPSVI
getValidationContext
in interface org.apache.xerces.xni.psvi.ItemPSVI
org.apache.xerces.xni.psvi.ItemPSVI
public boolean getIsNil()
public XSNotationDeclaration getNotation()
getNotation
in interface org.apache.xerces.xni.psvi.ElementPSVI
public XSTypeDefinition getTypeDefinition()
getTypeDefinition
in interface org.apache.xerces.xni.psvi.ItemPSVI
public XSSimpleTypeDefinition getMemberTypeDefinition()
getMemberTypeDefinition
in interface org.apache.xerces.xni.psvi.ItemPSVI
public XSElementDeclaration getElementDeclaration()
getElementDeclaration
in interface org.apache.xerces.xni.psvi.ElementPSVI
public XSModel getSchemaInformation()
getSchemaInformation
in interface org.apache.xerces.xni.psvi.ElementPSVI
public void setPSVI(org.apache.xerces.xni.psvi.ElementPSVI elem)
attr
- the source of attribute PSVI items
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |