public class SchemaGlobalAttributeImpl extends SchemaLocalAttributeImpl implements SchemaGlobalAttribute
SchemaGlobalAttribute.Ref_parseObjectOPTIONAL, PROHIBITED, REQUIREDANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE| Constructor and Description |
|---|
SchemaGlobalAttributeImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container) |
| Modifier and Type | Method and Description |
|---|---|
String |
getChameleonNamespace() |
SchemaComponent.Ref |
getComponentRef()
Used for on-demand loading of schema components.
|
int |
getComponentType()
Returns the type code for the schema object, either
SchemaComponent.TYPE,
SchemaComponent.ELEMENT, SchemaComponent.ATTRIBUTE, SchemaComponent.ATTRIBUTE_GROUP,
SchemaComponent.MODEL_GROUP, SchemaComponent.IDENTITY_CONSTRAINT, or SchemaComponent.NOTATION. |
XmlObject |
getParseObject() |
SchemaGlobalAttribute.Ref |
getRef()
Retruns a SchemaGlobalElement.Ref pointing to this element itself.
|
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
|
void |
setFilename(String filename) |
void |
setParseContext(XmlObject parseObject,
String targetNamespace,
boolean chameleon) |
getAnnotation, getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, getTypeRef, getUse, getUserData, getWSDLArrayType, init, isAttribute, isDefault, isFixed, isNillable, isTypeResolved, resolveTypeRef, setDefaultValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUsegetDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, getUserData, isAttribute, isDefault, isFixed, isNillablegetAnnotationgetNamepublic SchemaGlobalAttributeImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container)
public SchemaTypeSystem getTypeSystem()
SchemaComponentgetTypeSystem in interface SchemaComponentpublic int getComponentType()
SchemaComponentSchemaComponent.TYPE,
SchemaComponent.ELEMENT, SchemaComponent.ATTRIBUTE, SchemaComponent.ATTRIBUTE_GROUP,
SchemaComponent.MODEL_GROUP, SchemaComponent.IDENTITY_CONSTRAINT, or SchemaComponent.NOTATION.getComponentType in interface SchemaComponentpublic String getSourceName()
SchemaComponentSchemaTypeLoader.getSourceAsStream(String)
SchemaType schemaType = ..; InputStream is = schemaType.getTypeSystem().getSourceAsStream(schemaType.getSourceName());
getSourceName in interface SchemaComponentpublic void setFilename(String filename)
public void setParseContext(XmlObject parseObject, String targetNamespace, boolean chameleon)
public XmlObject getParseObject()
public String getTargetNamespace()
public String getChameleonNamespace()
public SchemaGlobalAttribute.Ref getRef()
SchemaGlobalAttributegetRef in interface SchemaGlobalAttributepublic SchemaComponent.Ref getComponentRef()
SchemaComponentgetComponentRef in interface SchemaComponent