org.apache.xerces.impl.xs

Class XSAttributeUseImpl

Implemented Interfaces:
org.apache.xerces.xs.XSAttributeUse

public class XSAttributeUseImpl
extends java.lang.Object
implements org.apache.xerces.xs.XSAttributeUse

The XML representation for an attribute use schema component is a local element information item
Version:
$Id: XSAttributeUseImpl.java 388853 2006-03-25 23:05:56Z mrglavas $
Author:
Sandy Gao, IBM

Field Summary

org.apache.xerces.xs.XSObjectList
fAnnotations
XSAttributeDecl
fAttrDecl
short
fConstraintType
ValidatedInfo
fDefault
short
fUse

Method Summary

Object
getActualVC()
short
getActualVCType()
org.apache.xerces.xs.XSObjectList
getAnnotations()
Optional.
org.apache.xerces.xs.XSAttributeDeclaration
getAttrDeclaration()
{attribute declaration} provides the attribute declaration itself, which will in turn determine the simple type definition used.
short
getConstraintType()
Value Constraint: one of default, fixed.
String
getConstraintValue()
Value Constraint: The actual value (with respect to the {type definition}).
org.apache.xerces.xs.ShortList
getItemValueTypes()
String
getName()
The name of this XSObject depending on the XSObject type.
String
getNamespace()
The namespace URI of this node, or null if it is unspecified.
org.apache.xerces.xs.XSNamespaceItem
getNamespaceItem()
boolean
getRequired()
{required} determines whether this use of an attribute declaration requires an appropriate attribute information item to be present, or merely allows it.
short
getType()
Get the type of the object, i.e ELEMENT_DECLARATION.
void
reset()

Field Details

fAnnotations

public org.apache.xerces.xs.XSObjectList fAnnotations

fAttrDecl

public XSAttributeDecl fAttrDecl

fConstraintType

public short fConstraintType

fDefault

public ValidatedInfo fDefault

fUse

public short fUse

Method Details

getActualVC

public Object getActualVC()
Specified by:
getActualVC in interface org.apache.xerces.xs.XSAttributeUse

getActualVCType

public short getActualVCType()
Specified by:
getActualVCType in interface org.apache.xerces.xs.XSAttributeUse

getAnnotations

public org.apache.xerces.xs.XSObjectList getAnnotations()
Optional. Annotations.
Specified by:
getAnnotations in interface org.apache.xerces.xs.XSAttributeUse

getAttrDeclaration

public org.apache.xerces.xs.XSAttributeDeclaration getAttrDeclaration()
{attribute declaration} provides the attribute declaration itself, which will in turn determine the simple type definition used.
Specified by:
getAttrDeclaration in interface org.apache.xerces.xs.XSAttributeUse

getConstraintType

public short getConstraintType()
Value Constraint: one of default, fixed.
Specified by:
getConstraintType in interface org.apache.xerces.xs.XSAttributeUse

getConstraintValue

public String getConstraintValue()
Value Constraint: The actual value (with respect to the {type definition}).
Specified by:
getConstraintValue in interface org.apache.xerces.xs.XSAttributeUse

getItemValueTypes

public org.apache.xerces.xs.ShortList getItemValueTypes()
Specified by:
getItemValueTypes in interface org.apache.xerces.xs.XSAttributeUse

getName

public String getName()
The name of this XSObject depending on the XSObject type.
Specified by:
getName in interface org.apache.xerces.xs.XSObject

getNamespace

public String getNamespace()
The namespace URI of this node, or null if it is unspecified. defines how a namespace URI is attached to schema components.
Specified by:
getNamespace in interface org.apache.xerces.xs.XSObject

getNamespaceItem

public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
Specified by:
getNamespaceItem in interface org.apache.xerces.xs.XSObject
See Also:
org.apache.xerces.xs.XSObject.getNamespaceItem()

getRequired

public boolean getRequired()
{required} determines whether this use of an attribute declaration requires an appropriate attribute information item to be present, or merely allows it.
Specified by:
getRequired in interface org.apache.xerces.xs.XSAttributeUse

getType

public short getType()
Get the type of the object, i.e ELEMENT_DECLARATION.
Specified by:
getType in interface org.apache.xerces.xs.XSObject

reset

public void reset()

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.