Package org.dlese.dpc.xml.schema
Class ModelGroup
java.lang.Object
org.dlese.dpc.xml.schema.GenericType
org.dlese.dpc.xml.schema.SimpleType
org.dlese.dpc.xml.schema.ComplexType
org.dlese.dpc.xml.schema.ModelGroup
- All Implemented Interfaces:
GlobalDef
Wrapper for ModelGroup definitions in XML Schemas.
- Version:
- $Id: ModelGroup.java,v 1.3 2009/03/20 23:34:01 jweather Exp $
- Author:
- ostwald
-
Field Summary
Fields inherited from class org.dlese.dpc.xml.schema.GenericType
element, inline, location, name, namespace, path, 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
ConstructorsConstructorDescriptionModelGroup(org.dom4j.Element element, String location, org.dom4j.Namespace namespace, SchemaReader schemaReader) Constructor for the ModelGroup object -
Method Summary
Modifier and TypeMethodDescriptionintGets the dataType attribute of the ModelGroup objecttoString()String representation of the ModelGroup objectMethods inherited from class org.dlese.dpc.xml.schema.ComplexType
getChoices, getComplexContent, getCompositor, getCompositorType, getContentModel, getDerivationBase, getDerivationType, getDerivedCompositorType, getExtensionBase, getExtensionElement, getExtensionRootType, getExtensionType, getRestrictionBase, getRestrictionElement, getRestrictionRootType, getRestrictionType, getSimpleContent, getSimpleContentType, hasComplexContent, hasInlineCompositor, hasSimpleContent, isAbstract, isDerivedContentModel, isDerivedTextOnlyModel, isDerivedType, prtlnMethods inherited from class org.dlese.dpc.xml.schema.SimpleType
getEnumerationBaseType, getSimpleEnumerationValues, getUnionMemberTypeDefs, getUnionMemberTypeNames, getUnionMemberTypesAsString, isComboUnionType, isEnumeration, isUnionMethods inherited from class org.dlese.dpc.xml.schema.GenericType
extractDocumentation, filterChildren, filterChildren, getChildren, getDocumentation, getElement, getElementAsXml, getEnumerationValues, getEnumerationValues, getFirstChild, getLocation, getName, getNamespace, getQualifiedInstanceName, getQualifiedName, getSchemaReader, getType, getXsdPrefix, isAnyType, isAttributeGroup, isBuiltIn, isComplexType, isEnumerationType, isGlobalAttribute, isGlobalDeclaration, isGlobalElement, isInline, isModelGroup, isSimpleType, isTypeDef, printElements, setInline
-
Constructor Details
-
ModelGroup
public ModelGroup(org.dom4j.Element element, String location, org.dom4j.Namespace namespace, SchemaReader schemaReader) Constructor for the ModelGroup object- Parameters:
element- Description of the Parameterlocation- Description of the Parameternamespace- NOT YET DOCUMENTED
-
-
Method Details
-
getDataType
public int getDataType()Gets the dataType attribute of the ModelGroup object- Specified by:
getDataTypein interfaceGlobalDef- Overrides:
getDataTypein classComplexType- Returns:
- COMPLEX_TYPE - The dataType value as an int
-
toString
String representation of the ModelGroup object- Specified by:
toStringin interfaceGlobalDef- Overrides:
toStringin classComplexType- Returns:
- a String representation of the ModelGroup object
-