Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.impl.xs

public Class XSAttributeUseImpl

extends Object
implements XSAttributeUse
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.xerces.internal.xs.XSAttributeUse, com.sun.org.apache.xerces.internal.xs.XSObject
Imports
com.sun.org.apache.xerces.internal.impl.dv.ValidatedInfo, com.sun.org.apache.xerces.internal.impl.xs.util.XSObjectListImpl, com.sun.org.apache.xerces.internal.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

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 com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getActualVC.

Deprecated

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 com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getActualVCType.

Deprecated

The actual constraint value built-in datatype, e.g. STRING_DT, SHORT_DT.

public XSObjectList
public XSAttributeDeclaration
getAttrDeclaration()

Implements com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getAttrDeclaration.

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

public short
public String
getConstraintValue()

Implements com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getConstraintValue.

Deprecated

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

public ShortList
getItemValueTypes()

Implements com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getItemValueTypes.

Deprecated

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 com.sun.org.apache.xerces.internal.xs.XSObject.getName.

The name of this XSObject depending on the XSObject type.

public String
getNamespace()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getNamespace.

The namespace URI of this node, or null if it is unspecified.

public XSNamespaceItem
getNamespaceItem()

Implements com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.xs.XSObject.getType.

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

public XSValue
getValueConstraintValue()

Implements com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getActualVC.

Doc from com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getActualVC.

Deprecated

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

Annotations
@Deprecated
getActualVCTypeback to summary
public short getActualVCType()

Implements com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getActualVCType.

Doc from com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getActualVCType.

Deprecated

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.

Annotations
@Deprecated
getAnnotationsback to summary
public XSObjectList getAnnotations()

Implements com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getAnnotations.

Optional. Annotations.

getAttrDeclarationback to summary
public XSAttributeDeclaration getAttrDeclaration()

Implements com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getConstraintType.

Value Constraint: one of default, fixed.

getConstraintValueback to summary
public String getConstraintValue()

Implements com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getConstraintValue.

Deprecated

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

Annotations
@Deprecated
getItemValueTypesback to summary
public ShortList getItemValueTypes()

Implements com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getItemValueTypes.

Doc from com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getItemValueTypes.

Deprecated

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.

Annotations
@Deprecated
getNameback to summary
public String getName()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getName.

The name of this XSObject depending on the XSObject type.

getNamespaceback to summary
public String getNamespace()

Implements com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.xs.XSObject.getNamespaceItem.

Doc from com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.xs.XSObject.getType.

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

getValueConstraintValueback to summary
public XSValue getValueConstraintValue()

Implements com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getValueConstraintValue.

Doc from com.sun.org.apache.xerces.internal.xs.XSAttributeUse.getValueConstraintValue.

The actual value of the default or fixed value constraint.

resetback to summary
public void reset()