Package org.apache.xmlbeans.impl.schema
Class SchemaModelGroupImpl
java.lang.Object
org.apache.xmlbeans.impl.schema.SchemaModelGroupImpl
- All Implemented Interfaces:
SchemaAnnotated,SchemaComponent,SchemaModelGroup
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.xmlbeans.SchemaModelGroup
SchemaModelGroup.Ref -
Field Summary
Fields inherited from interface org.apache.xmlbeans.SchemaComponent
ANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE -
Constructor Summary
ConstructorsConstructorDescriptionSchemaModelGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container) SchemaModelGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container, QName name) -
Method Summary
Modifier and TypeMethodDescriptionReturns the Schema annotation object or null if none presentUsed for on-demand loading of schema components.intReturns SchemaComponent.GROUP.getName()The name of the model group.getRef()The name of resource that represends the source .xsd in which this component was defined (if known)
See:SchemaTypeLoader.getSourceAsStream(String)
Example:Returns the typesystem within which this component definition residesReturns user-specific information.voidinit(QName name, String targetNamespace, boolean chameleon, String elemFormDefault, String attFormDefault, boolean redefinition, XmlObject x, SchemaAnnotation a, Object userData) booleanvoidsetFilename(String filename)
-
Constructor Details
-
SchemaModelGroupImpl
public SchemaModelGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container) -
SchemaModelGroupImpl
-
-
Method Details
-
init
-
getTypeSystem
Description copied from interface:SchemaComponentReturns the typesystem within which this component definition resides- Specified by:
getTypeSystemin interfaceSchemaComponent
-
getComponentType
public int getComponentType()Description copied from interface:SchemaModelGroupReturns SchemaComponent.GROUP.- Specified by:
getComponentTypein interfaceSchemaComponent- Specified by:
getComponentTypein interfaceSchemaModelGroup
-
setFilename
-
getSourceName
Description copied from interface:SchemaComponentThe name of resource that represends the source .xsd in which this component was defined (if known)
See:SchemaTypeLoader.getSourceAsStream(String)
Example:SchemaType schemaType = ..; InputStream is = schemaType.getTypeSystem().getSourceAsStream(schemaType.getSourceName());
- Specified by:
getSourceNamein interfaceSchemaComponent
-
getName
Description copied from interface:SchemaModelGroupThe name of the model group.- Specified by:
getNamein interfaceSchemaComponent- Specified by:
getNamein interfaceSchemaModelGroup
-
getParseObject
-
getTargetNamespace
-
getChameleonNamespace
-
getElemFormDefault
-
getAttFormDefault
-
isRedefinition
public boolean isRedefinition() -
getAnnotation
Description copied from interface:SchemaAnnotatedReturns the Schema annotation object or null if none present- Specified by:
getAnnotationin interfaceSchemaAnnotated
-
getRef
-
getComponentRef
Description copied from interface:SchemaComponentUsed for on-demand loading of schema components.- Specified by:
getComponentRefin interfaceSchemaComponent
-
getUserData
Description copied from interface:SchemaModelGroupReturns user-specific information.- Specified by:
getUserDatain interfaceSchemaModelGroup- See Also:
-