public class SchemaModelGroupImpl extends Object implements SchemaModelGroup
SchemaModelGroup.RefANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE| Constructor and Description |
|---|
SchemaModelGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container) |
SchemaModelGroupImpl(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 |
getAttFormDefault() |
String |
getChameleonNamespace() |
SchemaComponent.Ref |
getComponentRef()
Used for on-demand loading of schema components.
|
int |
getComponentType()
Returns SchemaComponent.GROUP.
|
String |
getElemFormDefault() |
QName |
getName()
The name of the model group.
|
XmlObject |
getParseObject() |
SchemaModelGroup.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 elemFormDefault,
String attFormDefault,
boolean redefinition,
XmlObject x,
SchemaAnnotation a,
Object userData) |
boolean |
isRedefinition() |
void |
setFilename(String filename) |
public SchemaModelGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container)
public SchemaModelGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container,
QName name)
public void init(QName name, String targetNamespace, boolean chameleon, String elemFormDefault, String attFormDefault, boolean redefinition, XmlObject x, SchemaAnnotation a, Object userData)
public SchemaTypeSystem getTypeSystem()
SchemaComponentgetTypeSystem in interface SchemaComponentpublic int getComponentType()
SchemaModelGroupgetComponentType in interface SchemaComponentgetComponentType in interface SchemaModelGrouppublic 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()
SchemaModelGroupgetName in interface SchemaComponentgetName in interface SchemaModelGrouppublic XmlObject getParseObject()
public String getTargetNamespace()
public String getChameleonNamespace()
public String getElemFormDefault()
public String getAttFormDefault()
public boolean isRedefinition()
public SchemaAnnotation getAnnotation()
SchemaAnnotatedgetAnnotation in interface SchemaAnnotatedpublic SchemaModelGroup.Ref getRef()
public SchemaComponent.Ref getComponentRef()
SchemaComponentgetComponentRef in interface SchemaComponentpublic Object getUserData()
SchemaModelGroupgetUserData in interface SchemaModelGroupSchemaBookmark