public class XSAttributeGroupDecl
extends java.lang.Object
implements org.apache.xerces.xs.XSAttributeGroupDefinition
Modifier and Type | Field and Description |
---|---|
org.apache.xerces.xs.XSObjectList |
fAnnotations |
XSWildcardDecl |
fAttributeWC |
protected XSObjectListImpl |
fAttrUses |
java.lang.String |
fIDAttrName |
java.lang.String |
fName |
java.lang.String |
fTargetNamespace |
Constructor and Description |
---|
XSAttributeGroupDecl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addAttributeUse(XSAttributeUseImpl attrUse) |
org.apache.xerces.xs.XSAnnotation |
getAnnotation()
Optional.
|
org.apache.xerces.xs.XSObjectList |
getAnnotations()
Optional.
|
org.apache.xerces.xs.XSAttributeUse |
getAttributeUse(java.lang.String namespace,
java.lang.String name) |
org.apache.xerces.xs.XSAttributeUse |
getAttributeUseNoProhibited(java.lang.String namespace,
java.lang.String name) |
org.apache.xerces.xs.XSObjectList |
getAttributeUses()
{attribute uses} A set of attribute uses.
|
org.apache.xerces.xs.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. |
org.apache.xerces.xs.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(org.apache.xerces.xs.XSAttributeUse oldUse,
XSAttributeUseImpl newUse) |
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.
|
public java.lang.String fName
public java.lang.String fTargetNamespace
public XSWildcardDecl fAttributeWC
public java.lang.String fIDAttrName
public org.apache.xerces.xs.XSObjectList fAnnotations
protected XSObjectListImpl fAttrUses
public java.lang.String addAttributeUse(XSAttributeUseImpl attrUse)
public void replaceAttributeUse(org.apache.xerces.xs.XSAttributeUse oldUse, XSAttributeUseImpl newUse)
public org.apache.xerces.xs.XSAttributeUse getAttributeUse(java.lang.String namespace, java.lang.String name)
public org.apache.xerces.xs.XSAttributeUse getAttributeUseNoProhibited(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 org.apache.xerces.xs.XSObject
public java.lang.String getName()
name
of this XSObject
depending on the
XSObject
type.getName
in interface org.apache.xerces.xs.XSObject
public java.lang.String getNamespace()
null
if it is
unspecified. defines how a namespace URI is attached to schema
components.getNamespace
in interface org.apache.xerces.xs.XSObject
public org.apache.xerces.xs.XSObjectList getAttributeUses()
getAttributeUses
in interface org.apache.xerces.xs.XSAttributeGroupDefinition
public org.apache.xerces.xs.XSWildcard getAttributeWildcard()
getAttributeWildcard
in interface org.apache.xerces.xs.XSAttributeGroupDefinition
public org.apache.xerces.xs.XSAnnotation getAnnotation()
getAnnotation
in interface org.apache.xerces.xs.XSAttributeGroupDefinition
public org.apache.xerces.xs.XSObjectList getAnnotations()
getAnnotations
in interface org.apache.xerces.xs.XSAttributeGroupDefinition
public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
org.apache.xerces.xs.XSObject
null
otherwise.getNamespaceItem
in interface org.apache.xerces.xs.XSObject
XSObject.getNamespaceItem()
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.