Package org.apache.xmlbeans.impl.schema
Class SchemaAttributeGroupImpl
java.lang.Object
org.apache.xmlbeans.impl.schema.SchemaAttributeGroupImpl
- All Implemented Interfaces:
SchemaAnnotated
,SchemaAttributeGroup
,SchemaComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.xmlbeans.SchemaAttributeGroup
SchemaAttributeGroup.Ref
-
Field Summary
Fields inherited from interface org.apache.xmlbeans.SchemaComponent
ANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaAttributeGroupImpl
(org.apache.xmlbeans.impl.schema.SchemaContainer container) SchemaAttributeGroupImpl
(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.int
Returns SchemaComponent.ATTRIBUTE_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.void
init
(QName name, String targetNamespace, boolean chameleon, String formDefault, boolean redefinition, XmlObject x, SchemaAnnotation a, Object userData) boolean
void
setFilename
(String filename)
-
Constructor Details
-
SchemaAttributeGroupImpl
public SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container) -
SchemaAttributeGroupImpl
public SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container, QName name)
-
-
Method Details
-
init
-
getTypeSystem
Description copied from interface:SchemaComponent
Returns the typesystem within which this component definition resides- Specified by:
getTypeSystem
in interfaceSchemaComponent
-
getComponentType
public int getComponentType()Description copied from interface:SchemaAttributeGroup
Returns SchemaComponent.ATTRIBUTE_GROUP.- Specified by:
getComponentType
in interfaceSchemaAttributeGroup
- Specified by:
getComponentType
in interfaceSchemaComponent
-
setFilename
-
getSourceName
Description copied from interface:SchemaComponent
The 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:
getSourceName
in interfaceSchemaComponent
-
getName
Description copied from interface:SchemaAttributeGroup
The name of the model group.- Specified by:
getName
in interfaceSchemaAttributeGroup
- Specified by:
getName
in interfaceSchemaComponent
-
getParseObject
-
getTargetNamespace
-
getChameleonNamespace
-
getFormDefault
-
getAnnotation
Description copied from interface:SchemaAnnotated
Returns the Schema annotation object or null if none present- Specified by:
getAnnotation
in interfaceSchemaAnnotated
-
getRef
-
getComponentRef
Description copied from interface:SchemaComponent
Used for on-demand loading of schema components.- Specified by:
getComponentRef
in interfaceSchemaComponent
-
isRedefinition
public boolean isRedefinition() -
getUserData
Description copied from interface:SchemaAttributeGroup
Returns user-specific information.- Specified by:
getUserData
in interfaceSchemaAttributeGroup
- See Also:
-