Package org.apache.xmlbeans.impl.schema
Class SchemaAttributeGroupImpl
java.lang.Object
org.apache.xmlbeans.impl.schema.SchemaAttributeGroupImpl
- All Implemented Interfaces:
SchemaAnnotated,SchemaAttributeGroup,SchemaComponent
public class SchemaAttributeGroupImpl extends Object implements SchemaAttributeGroup
-
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
Constructors Constructor Description SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container)SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container, QName name) -
Method Summary
Modifier and Type Method Description SchemaAnnotationgetAnnotation()Returns the Schema annotation object or null if none presentStringgetChameleonNamespace()SchemaComponent.RefgetComponentRef()Used for on-demand loading of schema components.intgetComponentType()Returns SchemaComponent.ATTRIBUTE_GROUP.StringgetFormDefault()QNamegetName()The name of the model group.XmlObjectgetParseObject()SchemaAttributeGroup.RefgetRef()StringgetSourceName()The name of resource that represends the source .xsd in which this component was defined (if known)
See:SchemaTypeLoader.getSourceAsStream(String)
Example:StringgetTargetNamespace()SchemaTypeSystemgetTypeSystem()Returns the typesystem within which this component definition residesObjectgetUserData()Returns user-specific information.voidinit(QName name, String targetNamespace, boolean chameleon, String formDefault, boolean redefinition, XmlObject x, SchemaAnnotation a, Object userData)booleanisRedefinition()voidsetFilename(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:SchemaComponentReturns the typesystem within which this component definition resides- Specified by:
getTypeSystemin interfaceSchemaComponent
-
getComponentType
public int getComponentType()Description copied from interface:SchemaAttributeGroupReturns SchemaComponent.ATTRIBUTE_GROUP.- Specified by:
getComponentTypein interfaceSchemaAttributeGroup- Specified by:
getComponentTypein interfaceSchemaComponent
-
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:SchemaAttributeGroupThe name of the model group.- Specified by:
getNamein interfaceSchemaAttributeGroup- Specified by:
getNamein interfaceSchemaComponent
-
getParseObject
-
getTargetNamespace
-
getChameleonNamespace
-
getFormDefault
-
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
-
isRedefinition
public boolean isRedefinition() -
getUserData
Description copied from interface:SchemaAttributeGroupReturns user-specific information.- Specified by:
getUserDatain interfaceSchemaAttributeGroup- See Also:
SchemaBookmark
-