|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public class PSVIElementNSImpl
Element namespace implementation; stores PSVI element items.
| Field Summary |
|---|
| Fields inherited from interface org.apache.xerces.xs.ItemPSVI |
|---|
VALIDATION_FULL, VALIDATION_NONE, VALIDATION_PARTIAL, VALIDITY_INVALID, VALIDITY_NOTKNOWN, VALIDITY_VALID |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| 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 | |
|---|---|
java.lang.Object |
getActualNormalizedValue()
[schema normalized value]: Binding specific actual value
or null if the value is in error. |
short |
getActualNormalizedValueType()
The actual value built-in datatype, e.g. |
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 |
getIsSchemaSpecified()
[schema specified] |
ShortList |
getItemValueTypes()
In the case the actual value represents a list, i.e. |
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. |
boolean |
getNil()
[nil] |
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()
The nearest ancestor element information item with a [schema information] property (or this element item
itself if it has such a property). |
short |
getValidity()
Determine the validity of the node with respect to the validation being attempted |
void |
setPSVI(ElementPSVI elem)
Copy PSVI properties from another psvi item. |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
|---|
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
addEventListener, appendChild, compareDocumentPosition, compareTreePosition, dispatchEvent, getFeature, getNodeValue, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setTextContent, setUserData |
| 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 ItemPSVIpublic java.lang.String getSchemaNormalizedValue()
getSchemaNormalizedValue in interface ItemPSVIpublic boolean getIsSchemaSpecified()
getIsSchemaSpecified in interface ItemPSVIpublic short getValidationAttempted()
getValidationAttempted in interface ItemPSVIpublic short getValidity()
getValidity in interface ItemPSVIpublic StringList getErrorCodes()
getErrorCodes in interface ItemPSVIpublic java.lang.String getValidationContext()
ItemPSVI[schema information] property (or this element item
itself if it has such a property). For more information refer to
element validation context and attribute validation context .
getValidationContext in interface ItemPSVIpublic boolean getNil()
getNil in interface ElementPSVIpublic XSNotationDeclaration getNotation()
getNotation in interface ElementPSVIpublic XSTypeDefinition getTypeDefinition()
getTypeDefinition in interface ItemPSVIpublic XSSimpleTypeDefinition getMemberTypeDefinition()
getMemberTypeDefinition in interface ItemPSVIpublic XSElementDeclaration getElementDeclaration()
getElementDeclaration in interface ElementPSVIpublic XSModel getSchemaInformation()
getSchemaInformation in interface ElementPSVIpublic void setPSVI(ElementPSVI elem)
elem - the source of element PSVI itemspublic java.lang.Object getActualNormalizedValue()
ItemPSVI[schema normalized value]: Binding specific actual value
or null if the value is in error.
getActualNormalizedValue in interface ItemPSVIpublic short getActualNormalizedValueType()
ItemPSVISTRING_DT, SHORT_DT. If the type definition of this
value is a list type definition, this method returns
LIST_DT. If the type definition of this value is a list
type definition whose item type is a union type definition, this
method returns LISTOFUNION_DT. To query the actual value
of the list or list of union type definitions use
itemValueTypes. If the actualNormalizedValue
is null, this method returns UNAVAILABLE_DT
.
getActualNormalizedValueType in interface ItemPSVIpublic ShortList getItemValueTypes()
ItemPSVIactualNormalizedValueType is LIST_DT, the
returned array consists of one type kind which represents the itemType
. For example:
<simpleType name="listtype"> <list itemType="positiveInteger"/> </simpleType> <element name="list" type="listtype"/> ... <list>1 2 3</list>The
schemaNormalizedValue value is "1 2 3", the
actualNormalizedValueType value is LIST_DT,
and the itemValueTypes is an array of size 1 with the
value POSITIVEINTEGER_DT.
LISTOFUNION_DT,
for each actual value in the list the array contains the
corresponding memberType kind. For example:
<simpleType name='union_type' memberTypes="integer string"/> <simpleType name='listOfUnion'> <list itemType='union_type'/> </simpleType> <element name="list" type="listOfUnion"/> ... <list>1 2 foo</list>The
schemaNormalizedValue value is "1 2 foo", the
actualNormalizedValueType is LISTOFUNION_DT
, and the itemValueTypes is an array of size 3 with the
following values: INTEGER_DT, INTEGER_DT, STRING_DT.
getItemValueTypes in interface ItemPSVI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||