Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
Field Summary | |
protected Object |
|
protected short |
|
protected org.apache.xerces.xs.XSElementDeclaration |
|
protected org.apache.xerces.xs.StringList |
|
protected org.apache.xerces.xs.ShortList |
|
protected org.apache.xerces.xs.XSSimpleTypeDefinition |
|
protected boolean |
|
protected String |
|
protected org.apache.xerces.xs.XSNotationDeclaration |
|
protected org.apache.xerces.xs.XSModel |
|
protected boolean |
|
protected org.apache.xerces.xs.XSTypeDefinition |
|
protected short |
|
protected String |
|
protected short |
|
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 | |
fNodeListCache , firstChild , ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode | |
nextSibling , previousSibling |
Constructor Summary | |
| |
|
Method Summary | |
Object | |
short | |
org.apache.xerces.xs.XSElementDeclaration |
|
org.apache.xerces.xs.StringList |
|
boolean |
|
org.apache.xerces.xs.ShortList | |
org.apache.xerces.xs.XSSimpleTypeDefinition |
|
boolean |
|
org.apache.xerces.xs.XSNotationDeclaration |
|
String |
|
org.apache.xerces.xs.XSModel |
|
String |
|
org.apache.xerces.xs.XSTypeDefinition |
|
short |
|
String | |
short |
|
void |
|
Methods inherited from class org.apache.xerces.dom.ElementNSImpl | |
getBaseURI , getLocalName , getNamespaceURI , getPrefix , getTypeName , getTypeNamespace , isDerivedFrom , setPrefix , setType , setValues |
Methods inherited from class org.apache.xerces.dom.ParentNode | |
cloneNode , getChildNodes , getChildNodesUnoptimized , getFirstChild , getLastChild , getLength , getOwnerDocument , getTextContent , hasChildNodes , insertBefore , isEqualNode , item , normalize , removeChild , replaceChild , setReadOnly , setTextContent , synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode | |
cloneNode , getNextSibling , getParentNode , getPreviousSibling |
protected Object fActualValue
schema actual value
protected short fActualValueType
schema actual value type
protected org.apache.xerces.xs.XSElementDeclaration fDeclaration
element declaration
protected org.apache.xerces.xs.StringList fErrorCodes
error codes
protected org.apache.xerces.xs.ShortList fItemValueTypes
actual value types if the value is a list
protected org.apache.xerces.xs.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 String fNormalizedValue
schema normalized value property
protected org.apache.xerces.xs.XSNotationDeclaration fNotation
http://www.w3.org/TR/xmlschema-1/#e-notation
protected org.apache.xerces.xs.XSModel fSchemaInformation
the schema information property
protected boolean fSpecified
false if the element value was provided by the schema; true otherwise.
protected org.apache.xerces.xs.XSTypeDefinition fTypeDecl
type of element, could be xsi:type
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
public PSVIElementNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName)
Construct an element node.
public PSVIElementNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName, String localName)
Construct an element node.
public Object getActualNormalizedValue()
- Specified by:
- getActualNormalizedValue in interface org.apache.xerces.xs.ItemPSVI
public short getActualNormalizedValueType()
- Specified by:
- getActualNormalizedValueType in interface org.apache.xerces.xs.ItemPSVI
public org.apache.xerces.xs.XSElementDeclaration getElementDeclaration()
An item isomorphic to the element declaration used to validate this element.
- Specified by:
- getElementDeclaration in interface org.apache.xerces.xs.ElementPSVI
- Returns:
- an element declaration
public org.apache.xerces.xs.StringList getErrorCodes()
A list of error codes generated from validation attempts. Need to find all the possible subclause reports that need reporting
- Specified by:
- getErrorCodes in interface org.apache.xerces.xs.ItemPSVI
- Returns:
- Array of error codes
public boolean getIsSchemaSpecified()
[schema specified]
- Specified by:
- getIsSchemaSpecified in interface org.apache.xerces.xs.ItemPSVI
- Returns:
- false value was specified in schema, true value comes from the infoset
public org.apache.xerces.xs.ShortList getItemValueTypes()
- Specified by:
- getItemValueTypes in interface org.apache.xerces.xs.ItemPSVI
public org.apache.xerces.xs.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.
- Specified by:
- getMemberTypeDefinition in interface org.apache.xerces.xs.ItemPSVI
- Returns:
- a simple type declaration
public boolean getNil()
[nil]
- Specified by:
- getNil in interface org.apache.xerces.xs.ElementPSVI
- Returns:
- true if clause 3.2 of Element Locally Valid (Element) (3.3.4) above is satisfied, otherwise false
public org.apache.xerces.xs.XSNotationDeclaration getNotation()
[notation]
- Specified by:
- getNotation in interface org.apache.xerces.xs.ElementPSVI
- Returns:
- The notation declaration.
public String getSchemaDefault()
[schema default]
- Specified by:
- getSchemaDefault in interface org.apache.xerces.xs.ItemPSVI
- Returns:
- The canonical lexical representation of the declaration's {value constraint} value.
public org.apache.xerces.xs.XSModel getSchemaInformation()
[schema information]
- Specified by:
- getSchemaInformation in interface org.apache.xerces.xs.ElementPSVI
- Returns:
- The schema information property if it's the validation root, null otherwise.
public String getSchemaNormalizedValue()
[schema normalized value]
- Specified by:
- getSchemaNormalizedValue in interface org.apache.xerces.xs.ItemPSVI
- Returns:
- the normalized value of this item after validation
public org.apache.xerces.xs.XSTypeDefinition getTypeDefinition()
An item isomorphic to the type definition used to validate this element.
- Specified by:
- getTypeDefinition in interface org.apache.xerces.xs.ItemPSVI
- Returns:
- a type declaration
public short getValidationAttempted()
Determines the extent to which the document has been validated
- Specified by:
- getValidationAttempted in interface org.apache.xerces.xs.ItemPSVI
- Returns:
- return the [validation attempted] property. The possible values are NO_VALIDATION, PARTIAL_VALIDATION and FULL_VALIDATION
public String getValidationContext()
- Specified by:
- getValidationContext in interface org.apache.xerces.xs.ItemPSVI
public short getValidity()
Determine the validity of the node with respect to the validation being attempted
- Specified by:
- getValidity in interface org.apache.xerces.xs.ItemPSVI
- Returns:
- return the [validity] property. Possible values are: UNKNOWN_VALIDITY, INVALID_VALIDITY, VALID_VALIDITY
public void setPSVI(org.apache.xerces.xs.ElementPSVI elem)
Copy PSVI properties from another psvi item.
- Parameters: