public class SchemaAttributeGroupImpl extends Object implements SchemaAttributeGroup
SchemaAttributeGroup.RefANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE| Constructor and Description |
|---|
SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container) |
SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container,
QName name) |
| Modifier and Type | Method and Description |
|---|---|
SchemaAnnotation |
getAnnotation()
Returns the Schema annotation object or null if none present
|
String |
getChameleonNamespace() |
SchemaComponent.Ref |
getComponentRef()
Used for on-demand loading of schema components.
|
int |
getComponentType()
Returns SchemaComponent.ATTRIBUTE_GROUP.
|
String |
getFormDefault() |
QName |
getName()
The name of the model group.
|
XmlObject |
getParseObject() |
SchemaAttributeGroup.Ref |
getRef() |
String |
getSourceName()
The name of resource that represends the source .xsd in which this component was defined (if known)
See: SchemaTypeLoader.getSourceAsStream(String)
Example: |
String |
getTargetNamespace() |
SchemaTypeSystem |
getTypeSystem()
Returns the typesystem within which this component definition resides
|
Object |
getUserData()
Returns user-specific information.
|
void |
init(QName name,
String targetNamespace,
boolean chameleon,
String formDefault,
boolean redefinition,
XmlObject x,
SchemaAnnotation a,
Object userData) |
boolean |
isRedefinition() |
void |
setFilename(String filename) |
public SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container)
public SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container,
QName name)
public void init(QName name, String targetNamespace, boolean chameleon, String formDefault, boolean redefinition, XmlObject x, SchemaAnnotation a, Object userData)
public SchemaTypeSystem getTypeSystem()
SchemaComponentgetTypeSystem in interface SchemaComponentpublic int getComponentType()
SchemaAttributeGroupgetComponentType in interface SchemaAttributeGroupgetComponentType in interface SchemaComponentpublic void setFilename(String filename)
public String getSourceName()
SchemaComponentSchemaTypeLoader.getSourceAsStream(String)
SchemaType schemaType = ..; InputStream is = schemaType.getTypeSystem().getSourceAsStream(schemaType.getSourceName());
getSourceName in interface SchemaComponentpublic QName getName()
SchemaAttributeGroupgetName in interface SchemaAttributeGroupgetName in interface SchemaComponentpublic XmlObject getParseObject()
public String getTargetNamespace()
public String getChameleonNamespace()
public String getFormDefault()
public SchemaAnnotation getAnnotation()
SchemaAnnotatedgetAnnotation in interface SchemaAnnotatedpublic SchemaAttributeGroup.Ref getRef()
public SchemaComponent.Ref getComponentRef()
SchemaComponentgetComponentRef in interface SchemaComponentpublic boolean isRedefinition()
public Object getUserData()
SchemaAttributeGroupgetUserData in interface SchemaAttributeGroupSchemaBookmark