|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.impl.xs.XSAttributeGroupDecl
public class XSAttributeGroupDecl
The XML representation for an attribute group declaration schema component is a global <attributeGroup> element information item
Field Summary | |
---|---|
XSObjectList |
fAnnotations
|
XSWildcardDecl |
fAttributeWC
|
java.lang.String |
fIDAttrName
|
java.lang.String |
fName
|
java.lang.String |
fTargetNamespace
|
Constructor Summary | |
---|---|
XSAttributeGroupDecl()
|
Method Summary | |
---|---|
java.lang.String |
addAttributeUse(XSAttributeUseImpl attrUse)
|
XSAnnotation |
getAnnotation()
Optional. |
XSObjectList |
getAnnotations()
Optional. |
XSAttributeUse |
getAttributeUse(java.lang.String namespace,
java.lang.String name)
|
XSObjectList |
getAttributeUses()
{attribute uses} A set of attribute uses. |
XSWildcard |
getAttributeWildcard()
{attribute wildcard} Optional. |
java.lang.String |
getName()
The name of this XSObject depending on the
XSObject type. |
java.lang.String |
getNamespace()
The namespace URI of this node, or null if it is
unspecified. |
XSNamespaceItem |
getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; or null otherwise. |
short |
getType()
Get the type of the object, i.e ELEMENT_DECLARATION. |
void |
removeProhibitedAttrs()
|
void |
reset()
|
java.lang.Object[] |
validRestrictionOf(java.lang.String typeName,
XSAttributeGroupDecl baseGroup)
Check that the attributes in this group validly restrict those from a base group. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String fName
public java.lang.String fTargetNamespace
public XSWildcardDecl fAttributeWC
public java.lang.String fIDAttrName
public XSObjectList fAnnotations
Constructor Detail |
---|
public XSAttributeGroupDecl()
Method Detail |
---|
public java.lang.String addAttributeUse(XSAttributeUseImpl attrUse)
public XSAttributeUse getAttributeUse(java.lang.String namespace, java.lang.String name)
public void removeProhibitedAttrs()
public java.lang.Object[] validRestrictionOf(java.lang.String typeName, XSAttributeGroupDecl baseGroup)
typeName
- the name of the type containing this attribute group, used for error reporting purposesbaseGroup
- the XSAttributeGroupDecl that is the base we are checking againstpublic void reset()
public short getType()
getType
in interface XSObject
public java.lang.String getName()
name
of this XSObject
depending on the
XSObject
type.
getName
in interface XSObject
public java.lang.String getNamespace()
null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
getNamespace
in interface XSObject
public XSObjectList getAttributeUses()
getAttributeUses
in interface XSAttributeGroupDefinition
public XSWildcard getAttributeWildcard()
getAttributeWildcard
in interface XSAttributeGroupDefinition
public XSAnnotation getAnnotation()
getAnnotation
in interface XSAttributeGroupDefinition
public XSObjectList getAnnotations()
getAnnotations
in interface XSAttributeGroupDefinition
public XSNamespaceItem getNamespaceItem()
XSObject
null
otherwise.
getNamespaceItem
in interface XSObject
XSObject.getNamespaceItem()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |