BEA Systems, Inc.

weblogic.apache.xerces.impl.xs
Class AttributePSVImpl

java.lang.Object
  extended by weblogic.apache.xerces.impl.xs.AttributePSVImpl
All Implemented Interfaces:
AttributePSVI, ItemPSVI

Deprecated. please use JDK supplied XML parsers and transformers

public class AttributePSVImpl
extends Object
implements AttributePSVI

Attribute PSV infoset augmentations implementation. The PSVI information for attributes will be available at the startElement call.


Field Summary
protected  Object fActualValue
          Deprecated. schema validated value property
protected  weblogic.apache.xerces.impl.xs.psvi.XSAttributeDeclaration fDeclaration
          Deprecated. attribute declaration
protected  Vector fErrorCodes
          Deprecated. error codes
protected  weblogic.apache.xerces.impl.xs.psvi.XSSimpleTypeDefinition fMemberType
          Deprecated. member type definition against which attribute was validated
protected  XSSimpleType[] fMemberTypes
          Deprecated.  
protected  String fNormalizedValue
          Deprecated. schema normalized value property
protected  boolean fSpecified
          Deprecated. If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false
protected  weblogic.apache.xerces.impl.xs.psvi.XSTypeDefinition fTypeDecl
          Deprecated. type of attribute, simpleType
protected  short fValidationAttempted
          Deprecated. validation attempted: none, partial, full
protected  String fValidationContext
          Deprecated. validation context: could be QName or XPath expression
protected  short fValidity
          Deprecated. validity: valid, invalid, unknown
 
Fields inherited from interface weblogic.apache.xerces.xni.psvi.ItemPSVI
VALIDATION_FULL, VALIDATION_NONE, VALIDATION_PARTIAL, VALIDITY_INVALID, VALIDITY_UNKNOWN, VALIDITY_VALID
 
Constructor Summary
AttributePSVImpl()
          Deprecated.  
 
Method Summary
 void addErrorCode(String key)
          Deprecated.  
 Object getActualValue()
          Deprecated. [actual value]
 weblogic.apache.xerces.impl.xs.psvi.XSAttributeDeclaration getAttributeDeclaration()
          Deprecated. An item isomorphic to the attribute declaration used to validate this attribute.
 weblogic.apache.xerces.impl.xs.psvi.StringList getErrorCodes()
          Deprecated. A list of error codes generated from validation attempts.
 boolean getIsSchemaSpecified()
          Deprecated. [schema specified]
 weblogic.apache.xerces.impl.xs.psvi.XSSimpleTypeDefinition getMemberTypeDefinition()
          Deprecated. 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.
 weblogic.apache.xerces.impl.xs.psvi.XSObjectList getMemberTypes()
          Deprecated. If the item ia a list, return the list of member types for this item
 String getSchemaDefault()
          Deprecated. [schema default]
 String getSchemaNormalizedValue()
          Deprecated. [schema normalized value]
 weblogic.apache.xerces.impl.xs.psvi.XSTypeDefinition getTypeDefinition()
          Deprecated. An item isomorphic to the type definition used to validate this element.
 short getValidationAttempted()
          Deprecated. Determines the extent to which the document has been validated
 String getValidationContext()
          Deprecated. [validation context] // REVISIT: what the return type should be? Should we return QName/XPath/ or element info item..?
 short getValidity()
          Deprecated. Determine the validity of the node with respect to the validation being attempted
 void reset()
          Deprecated. Reset()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fDeclaration

protected weblogic.apache.xerces.impl.xs.psvi.XSAttributeDeclaration fDeclaration
Deprecated. 
attribute declaration


fTypeDecl

protected weblogic.apache.xerces.impl.xs.psvi.XSTypeDefinition fTypeDecl
Deprecated. 
type of attribute, simpleType


fSpecified

protected boolean fSpecified
Deprecated. 
If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false


fNormalizedValue

protected String fNormalizedValue
Deprecated. 
schema normalized value property


fActualValue

protected Object fActualValue
Deprecated. 
schema validated value property


fMemberType

protected weblogic.apache.xerces.impl.xs.psvi.XSSimpleTypeDefinition fMemberType
Deprecated. 
member type definition against which attribute was validated


fMemberTypes

protected XSSimpleType[] fMemberTypes
Deprecated. 

fValidationAttempted

protected short fValidationAttempted
Deprecated. 
validation attempted: none, partial, full


fValidity

protected short fValidity
Deprecated. 
validity: valid, invalid, unknown


fErrorCodes

protected Vector fErrorCodes
Deprecated. 
error codes


fValidationContext

protected String fValidationContext
Deprecated. 
validation context: could be QName or XPath expression

Constructor Detail

AttributePSVImpl

public AttributePSVImpl()
Deprecated. 
Method Detail

getSchemaDefault

public String getSchemaDefault()
Deprecated. 
[schema default]

Specified by:
getSchemaDefault in interface ItemPSVI
Returns:
The canonical lexical representation of the declaration's {value constraint} value.
See Also:

getSchemaNormalizedValue

public String getSchemaNormalizedValue()
Deprecated. 
[schema normalized value]

Specified by:
getSchemaNormalizedValue in interface ItemPSVI
Returns:
the normalized value of this item after validation
See Also:

getActualValue

public Object getActualValue()
Deprecated. 
[actual value]

Specified by:
getActualValue in interface ItemPSVI
Returns:
the binary value of this item after validation

getIsSchemaSpecified

public boolean getIsSchemaSpecified()
Deprecated. 
[schema specified]

Specified by:
getIsSchemaSpecified in interface ItemPSVI
Returns:
false value was specified in schema, true value comes from the infoset
See Also:
XML Schema Part 1: Structures [schema specified]

getValidationAttempted

public short getValidationAttempted()
Deprecated. 
Determines the extent to which the document has been validated

Specified by:
getValidationAttempted in interface ItemPSVI
Returns:
return the [validation attempted] property. The possible values are NO_VALIDATION, PARTIAL_VALIDATION and FULL_VALIDATION

getValidity

public short getValidity()
Deprecated. 
Determine the validity of the node with respect to the validation being attempted

Specified by:
getValidity in interface ItemPSVI
Returns:
return the [validity] property. Possible values are: UNKNOWN_VALIDITY, INVALID_VALIDITY, VALID_VALIDITY

getErrorCodes

public weblogic.apache.xerces.impl.xs.psvi.StringList getErrorCodes()
Deprecated. 
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 ItemPSVI
Returns:
list of error codes

getValidationContext

public String getValidationContext()
Deprecated. 
Description copied from interface: ItemPSVI
[validation context] // REVISIT: what the return type should be? Should we return QName/XPath/ or element info item..?

Specified by:
getValidationContext in interface ItemPSVI
Returns:
The nearest ancestor element information item with a [schema information] property (or this element item itself if it has such a property)
See Also:
XML Schema Part 1: Structures [validation context]

getTypeDefinition

public weblogic.apache.xerces.impl.xs.psvi.XSTypeDefinition getTypeDefinition()
Deprecated. 
An item isomorphic to the type definition used to validate this element.

Specified by:
getTypeDefinition in interface ItemPSVI
Returns:
a type declaration

getMemberTypeDefinition

public weblogic.apache.xerces.impl.xs.psvi.XSSimpleTypeDefinition getMemberTypeDefinition()
Deprecated. 
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 ItemPSVI
Returns:
a simple type declaration

getMemberTypes

public weblogic.apache.xerces.impl.xs.psvi.XSObjectList getMemberTypes()
Deprecated. 
Description copied from interface: ItemPSVI
If the item ia a list, return the list of member types for this item

Specified by:
getMemberTypes in interface ItemPSVI

getAttributeDeclaration

public weblogic.apache.xerces.impl.xs.psvi.XSAttributeDeclaration getAttributeDeclaration()
Deprecated. 
An item isomorphic to the attribute declaration used to validate this attribute.

Specified by:
getAttributeDeclaration in interface AttributePSVI
Returns:
an attribute declaration

reset

public void reset()
Deprecated. 
Reset()


addErrorCode

public void addErrorCode(String key)
Deprecated. 

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs92
Copyright 2006 BEA Systems Inc.