public class XSAttributeGroupDecl extends Object implements XSAttributeGroupDefinition
Modifier and Type | Field and Description |
---|---|
XSObjectList |
fAnnotations |
XSWildcardDecl |
fAttributeWC |
protected XSObjectListImpl |
fAttrUses |
String |
fIDAttrName |
String |
fName |
String |
fTargetNamespace |
Constructor and Description |
---|
XSAttributeGroupDecl() |
Modifier and Type | Method and Description |
---|---|
String |
addAttributeUse(XSAttributeUseImpl attrUse) |
XSAnnotation |
getAnnotation()
Optional.
|
XSObjectList |
getAnnotations()
Optional.
|
XSAttributeUse |
getAttributeUse(String namespace,
String name) |
XSAttributeUse |
getAttributeUseNoProhibited(String namespace,
String name) |
XSObjectList |
getAttributeUses()
{attribute uses} A set of attribute uses.
|
XSWildcard |
getAttributeWildcard()
{attribute wildcard} Optional.
|
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. |
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 |
replaceAttributeUse(XSAttributeUse oldUse,
XSAttributeUseImpl newUse) |
void |
reset() |
Object[] |
validRestrictionOf(String typeName,
XSAttributeGroupDecl baseGroup)
Check that the attributes in this group validly restrict those from a base group.
|
public String fName
public String fTargetNamespace
public XSWildcardDecl fAttributeWC
public String fIDAttrName
public XSObjectList fAnnotations
protected XSObjectListImpl fAttrUses
public String addAttributeUse(XSAttributeUseImpl attrUse)
public void replaceAttributeUse(XSAttributeUse oldUse, XSAttributeUseImpl newUse)
public XSAttributeUse getAttributeUse(String namespace, String name)
public XSAttributeUse getAttributeUseNoProhibited(String namespace, String name)
public void removeProhibitedAttrs()
public Object[] validRestrictionOf(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()
public String getName()
name
of this XSObject
depending on the
XSObject
type.public 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()
Copyright © 2016 JBoss by Red Hat. All rights reserved.