org.apache.xerces.impl.xs

Class XSAttributeUseImpl

public class XSAttributeUseImpl extends Object implements XSAttributeUse

The XML representation for an attribute use schema component is a local element information item

Version: $Id: XSAttributeUseImpl.java,v 1.9 2005/06/23 19:29:16 mrglavas Exp $

Author: Sandy Gao, IBM

UNKNOWN:

Field Summary
XSAttributeDeclfAttrDecl
shortfConstraintType
ValidatedInfofDefault
shortfUse
Method Summary
ObjectgetActualVC()
shortgetActualVCType()
XSAttributeDeclarationgetAttrDeclaration()
{attribute declaration} provides the attribute declaration itself, which will in turn determine the simple type definition used.
shortgetConstraintType()
Value Constraint: one of default, fixed.
StringgetConstraintValue()
Value Constraint: The actual value (with respect to the {type definition}).
ShortListgetItemValueTypes()
StringgetName()
The name of this XSObject depending on the XSObject type.
StringgetNamespace()
The namespace URI of this node, or null if it is unspecified. defines how a namespace URI is attached to schema components.
XSNamespaceItemgetNamespaceItem()
booleangetRequired()
{required} determines whether this use of an attribute declaration requires an appropriate attribute information item to be present, or merely allows it.
shortgetType()
Get the type of the object, i.e ELEMENT_DECLARATION.
voidreset()

Field Detail

fAttrDecl

public XSAttributeDecl fAttrDecl

fConstraintType

public short fConstraintType

fDefault

public ValidatedInfo fDefault

fUse

public short fUse

Method Detail

getActualVC

public Object getActualVC()

getActualVCType

public short getActualVCType()

getAttrDeclaration

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

getConstraintType

public short getConstraintType()
Value Constraint: one of default, fixed.

getConstraintValue

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

getItemValueTypes

public ShortList getItemValueTypes()

getName

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

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.

getNamespaceItem

public XSNamespaceItem getNamespaceItem()

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.

getType

public short getType()
Get the type of the object, i.e ELEMENT_DECLARATION.

reset

public void reset()
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.