public class GlobalAttribute extends GlobalDeclaration
Global element definitions have an XPath of the form "/<xsd:schema/<xsd:attribute ...>", where the "xsd" prefix refers to a prefix that is mapped to the W3C Schema for Datatype Definitions (having a namespace uri of "http://www.w3.org/2001/XMLSchema").
GlobalAttribute definitions are associated with a type in one of the following ways:
debug, documentation, element, location, name, namespace, schemaReader, type, xsdPrefix
ATTRIBUTE_GROUP, BUILT_IN_TYPE, COMPLEX_TYPE, GENERIC_TYPE, GLOBAL_ATTRIBUTE, GLOBAL_DECLARATION, GLOBAL_ELEMENT, MODEL_GROUP, SIMPLE_TYPE
Constructor and Description |
---|
GlobalAttribute(org.dom4j.Element element,
java.lang.String location,
org.dom4j.Namespace namespace,
SchemaReader schemaReader)
Constructor for the GlobalAttribute object
|
Modifier and Type | Method and Description |
---|---|
int |
getDataType()
Gets the dataType attribute of the GlobalAttribute object
|
java.lang.String |
toString()
NOT YET DOCUMENTED
|
extractDocumentation, getDocumentation, getElement, getElementAsXml, getLocation, getName, getNamespace, getQualifiedInstanceName, getQualifiedName, getSchemaReader, getType, isAnyType, isAttributeGroup, isBuiltIn, isComplexType, isGlobalAttribute, isGlobalDeclaration, isGlobalElement, isModelGroup, isSimpleType, isTypeDef, prtln, prtlnErr
public GlobalAttribute(org.dom4j.Element element, java.lang.String location, org.dom4j.Namespace namespace, SchemaReader schemaReader)
element
- NOT YET DOCUMENTEDlocation
- NOT YET DOCUMENTEDnamespace
- NOT YET DOCUMENTEDpublic int getDataType()
getDataType
in interface GlobalDef
getDataType
in class GlobalDeclaration
public java.lang.String toString()
toString
in interface GlobalDef
toString
in class GlobalDeclaration