Package org.apache.xmlbeans.impl.schema
Class SchemaGlobalAttributeImpl
java.lang.Object
org.apache.xmlbeans.impl.schema.SchemaLocalAttributeImpl
org.apache.xmlbeans.impl.schema.SchemaGlobalAttributeImpl
- All Implemented Interfaces:
 SchemaAnnotated,SchemaComponent,SchemaField,SchemaGlobalAttribute,SchemaLocalAttribute,SchemaWSDLArrayType
public class SchemaGlobalAttributeImpl extends SchemaLocalAttributeImpl implements SchemaGlobalAttribute
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.xmlbeans.SchemaGlobalAttribute
SchemaGlobalAttribute.Ref - 
Field Summary
Fields inherited from interface org.apache.xmlbeans.SchemaComponent
ANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPEFields inherited from interface org.apache.xmlbeans.SchemaLocalAttribute
OPTIONAL, PROHIBITED, REQUIRED - 
Constructor Summary
Constructors Constructor Description SchemaGlobalAttributeImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container) - 
Method Summary
Modifier and Type Method Description StringgetChameleonNamespace()SchemaComponent.RefgetComponentRef()Used for on-demand loading of schema components.intgetComponentType()Returns the type code for the schema object, eitherSchemaComponent.TYPE,SchemaComponent.ELEMENT,SchemaComponent.ATTRIBUTE,SchemaComponent.ATTRIBUTE_GROUP,SchemaComponent.MODEL_GROUP,SchemaComponent.IDENTITY_CONSTRAINT, orSchemaComponent.NOTATION.XmlObjectgetParseObject()SchemaGlobalAttribute.RefgetRef()Retruns a SchemaGlobalElement.Ref pointing to this element itself.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 residesvoidsetFilename(String filename)voidsetParseContext(XmlObject parseObject, String targetNamespace, boolean chameleon)Methods inherited from class org.apache.xmlbeans.impl.schema.SchemaLocalAttributeImpl
getAnnotation, getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, getTypeRef, getUse, getUserData, getWSDLArrayType, init, isAttribute, isDefault, isFixed, isNillable, isTypeResolved, resolveTypeRef, setDefaultValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.xmlbeans.SchemaField
getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, getUserData, isAttribute, isDefault, isFixed, isNillable 
- 
Constructor Details
- 
SchemaGlobalAttributeImpl
public SchemaGlobalAttributeImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container) 
 - 
 - 
Method Details
- 
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:SchemaComponentReturns the type code for the schema object, eitherSchemaComponent.TYPE,SchemaComponent.ELEMENT,SchemaComponent.ATTRIBUTE,SchemaComponent.ATTRIBUTE_GROUP,SchemaComponent.MODEL_GROUP,SchemaComponent.IDENTITY_CONSTRAINT, orSchemaComponent.NOTATION.- Specified by:
 getComponentTypein interfaceSchemaComponent
 - 
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
 - 
setFilename
 - 
setParseContext
 - 
getParseObject
 - 
getTargetNamespace
 - 
getChameleonNamespace
 - 
getRef
Description copied from interface:SchemaGlobalAttributeRetruns a SchemaGlobalElement.Ref pointing to this element itself.- Specified by:
 getRefin interfaceSchemaGlobalAttribute
 - 
getComponentRef
Description copied from interface:SchemaComponentUsed for on-demand loading of schema components.- Specified by:
 getComponentRefin interfaceSchemaComponent
 
 -