Package org.dlese.dpc.xml.schema
Class AttributeGroup
java.lang.Object
org.dlese.dpc.xml.schema.GlobalDeclaration
org.dlese.dpc.xml.schema.AttributeGroup
- All Implemented Interfaces:
GlobalDef
Wrapper for AttributeGroup definitions in an XML Schema, which are defined as an immediate child of the
schema element.
AttributeGroup definitions are associated with a type in one of the following ways:
- via a "type" attribute,
- via a "ref" attribute
- via an in-line simple type definition
- Author:
- Jonathan Ostwald
-
Field Summary
Fields inherited from class org.dlese.dpc.xml.schema.GlobalDeclaration
debug, documentation, element, location, name, namespace, schemaReader, type, xsdPrefixFields inherited from interface org.dlese.dpc.xml.schema.GlobalDef
ATTRIBUTE_GROUP, BUILT_IN_TYPE, COMPLEX_TYPE, GENERIC_TYPE, GLOBAL_ATTRIBUTE, GLOBAL_DECLARATION, GLOBAL_ELEMENT, MODEL_GROUP, SIMPLE_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionAttributeGroup(org.dom4j.Element element, String location, org.dom4j.Namespace namespace, SchemaReader schemaReader) Constructor for the AttributeGroup object -
Method Summary
Modifier and TypeMethodDescriptionvoidintGets the dataType attribute of the AttributeGroup objecttoString()NOT YET DOCUMENTEDMethods inherited from class org.dlese.dpc.xml.schema.GlobalDeclaration
getDocumentation, getElement, getElementAsXml, getLocation, getName, getNamespace, getQualifiedInstanceName, getQualifiedName, getSchemaReader, getType, isAnyType, isAttributeGroup, isBuiltIn, isComplexType, isGlobalAttribute, isGlobalDeclaration, isGlobalElement, isModelGroup, isSimpleType, isTypeDef, prtln, prtlnErr
-
Constructor Details
-
AttributeGroup
public AttributeGroup(org.dom4j.Element element, String location, org.dom4j.Namespace namespace, SchemaReader schemaReader) Constructor for the AttributeGroup object- Parameters:
element- NOT YET DOCUMENTEDlocation- NOT YET DOCUMENTEDnamespace- NOT YET DOCUMENTED
-
-
Method Details
-
getAttributes
-
getDataType
public int getDataType()Gets the dataType attribute of the AttributeGroup object- Specified by:
getDataTypein interfaceGlobalDef- Overrides:
getDataTypein classGlobalDeclaration- Returns:
- The dataType value
-
extractDocumentation
public void extractDocumentation()- Overrides:
extractDocumentationin classGlobalDeclaration
-
toString
NOT YET DOCUMENTED- Specified by:
toStringin interfaceGlobalDef- Overrides:
toStringin classGlobalDeclaration- Returns:
- NOT YET DOCUMENTED
-