Top Description Fields Constructors Methods
org.apache.xerces.impl.xs

public Class XSAttributeUseImpl

extends Object
implements XSAttributeUse
Class Inheritance
All Implemented Interfaces
org.apache.xerces.xs.XSAttributeUse, org.apache.xerces.xs.XSObject
Imports
org.apache.xerces.impl.dv.ValidatedInfo, org.apache.xerces.impl.xs.util.XSObjectListImpl, org.apache.xerces.xs.ShortList, .XSAttributeDeclaration, .XSAttributeUse, .XSConstants, .XSNamespaceItem, .XSObjectList, .XSValue

The XML representation for an attribute use schema component is a local <attribute> element information item
Author
Sandy Gao, IBM
Version
$Id: XSAttributeUseImpl.java 1024038 2010-10-18 22:06:35Z sandygao $

Field Summary

Modifier and TypeField and Description
public XSObjectList
public XSAttributeDecl
public short
public ValidatedInfo
public short

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
getActualVC()

Implements org.apache.xerces.xs.XSAttributeUse.getActualVC.

Value Constraint: Binding specific actual constraint value or null if the value is in error or there is no value constraint.
public short
getActualVCType()

Implements org.apache.xerces.xs.XSAttributeUse.getActualVCType.

The actual constraint value built-in datatype, e.g. STRING_DT, SHORT_DT.
public XSObjectList
public XSAttributeDeclaration
getAttrDeclaration()

Implements org.apache.xerces.xs.XSAttributeUse.getAttrDeclaration.

{attribute declaration} provides the attribute declaration itself, which will in turn determine the simple type definition used.
public short
getConstraintType()

Implements org.apache.xerces.xs.XSAttributeUse.getConstraintType.

Value Constraint: one of default, fixed.
public String
getConstraintValue()

Implements org.apache.xerces.xs.XSAttributeUse.getConstraintValue.

Value Constraint: The actual value (with respect to the {type definition}).
public ShortList
getItemValueTypes()

Implements org.apache.xerces.xs.XSAttributeUse.getItemValueTypes.

In the case the actual constraint value represents a list, i.e. the actualValueType is LIST_DT, the returned array consists of one type kind which represents the itemType.
public String
getName()

Implements org.apache.xerces.xs.XSObject.getName.

The name of this XSObject depending on the XSObject type.
public String
getNamespace()

Implements org.apache.xerces.xs.XSObject.getNamespace.

The namespace URI of this node, or null if it is unspecified.
public XSNamespaceItem
getNamespaceItem()

Implements org.apache.xerces.xs.XSObject.getNamespaceItem.

A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; or null otherwise.
public boolean
getRequired()

Implements org.apache.xerces.xs.XSAttributeUse.getRequired.

{required} determines whether this use of an attribute declaration requires an appropriate attribute information item to be present, or merely allows it.
public short
getType()

Implements org.apache.xerces.xs.XSObject.getType.

Get the type of the object, i.e ELEMENT_DECLARATION.
public XSValue
getValueConstraintValue()

Implements org.apache.xerces.xs.XSAttributeUse.getValueConstraintValue.

The actual value of the default or fixed value constraint.
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fAnnotationsback to summary
public XSObjectList fAnnotations
fAttrDeclback to summary
public XSAttributeDecl fAttrDecl
fConstraintTypeback to summary
public short fConstraintType
fDefaultback to summary
public ValidatedInfo fDefault
fUseback to summary
public short fUse

Constructor Detail

XSAttributeUseImplback to summary
public XSAttributeUseImpl()

Method Detail

getActualVCback to summary
public Object getActualVC()

Implements org.apache.xerces.xs.XSAttributeUse.getActualVC.

Doc from org.apache.xerces.xs.XSAttributeUse.getActualVC.

Value Constraint: Binding specific actual constraint value or null if the value is in error or there is no value constraint.

getActualVCTypeback to summary
public short getActualVCType()

Implements org.apache.xerces.xs.XSAttributeUse.getActualVCType.

Doc from org.apache.xerces.xs.XSAttributeUse.getActualVCType.

The actual constraint value built-in datatype, e.g. STRING_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 constraint value of the list or list of union type definitions use itemValueTypes. If the actualNormalizedValue is null, this method returns UNAVAILABLE_DT.

getAnnotationsback to summary
public XSObjectList getAnnotations()

Implements org.apache.xerces.xs.XSAttributeUse.getAnnotations.

Optional. Annotations.

getAttrDeclarationback to summary
public XSAttributeDeclaration getAttrDeclaration()

Implements org.apache.xerces.xs.XSAttributeUse.getAttrDeclaration.

{attribute declaration} provides the attribute declaration itself, which will in turn determine the simple type definition used.

getConstraintTypeback to summary
public short getConstraintType()

Implements org.apache.xerces.xs.XSAttributeUse.getConstraintType.

Value Constraint: one of default, fixed.

getConstraintValueback to summary
public String getConstraintValue()

Implements org.apache.xerces.xs.XSAttributeUse.getConstraintValue.

Value Constraint: The actual value (with respect to the {type definition}).

getItemValueTypesback to summary
public ShortList getItemValueTypes()

Implements org.apache.xerces.xs.XSAttributeUse.getItemValueTypes.

Doc from org.apache.xerces.xs.XSAttributeUse.getItemValueTypes.

In the case the actual constraint value represents a list, i.e. the actualValueType is LIST_DT, the returned array consists of one type kind which represents the itemType. If the actual constraint value represents a list type definition whose item type is a union type definition, i.e. LISTOFUNION_DT, for each actual constraint value in the list the array contains the corresponding memberType kind. For examples, see ItemPSVI.itemValueTypes.

getNameback to summary
public String getName()

Implements org.apache.xerces.xs.XSObject.getName.

The name of this XSObject depending on the XSObject type.

getNamespaceback to summary
public String getNamespace()

Implements org.apache.xerces.xs.XSObject.getNamespace.

The namespace URI of this node, or null if it is unspecified. defines how a namespace URI is attached to schema components.

getNamespaceItemback to summary
public XSNamespaceItem getNamespaceItem()

Implements org.apache.xerces.xs.XSObject.getNamespaceItem.

Doc from org.apache.xerces.xs.XSObject.getNamespaceItem.

A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; or null otherwise.

See Also
org.apache.xerces.xs.XSObject#getNamespaceItem()
getRequiredback to summary
public boolean getRequired()

Implements org.apache.xerces.xs.XSAttributeUse.getRequired.

{required} determines whether this use of an attribute declaration requires an appropriate attribute information item to be present, or merely allows it.

getTypeback to summary
public short getType()

Implements org.apache.xerces.xs.XSObject.getType.

Get the type of the object, i.e ELEMENT_DECLARATION.

getValueConstraintValueback to summary
public XSValue getValueConstraintValue()

Implements org.apache.xerces.xs.XSAttributeUse.getValueConstraintValue.

Doc from org.apache.xerces.xs.XSAttributeUse.getValueConstraintValue.

The actual value of the default or fixed value constraint.

resetback to summary
public void reset()