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
public class ModelGroup
- extends ComplexType
Wrapper for ModelGroup definitions in XML Schemas.
- Version:
- $Id: ModelGroup.java,v 1.3 2009/03/20 23:34:01 jweather Exp $
- Author:
- ostwald
|
Method Summary |
int |
getDataType()
Gets the dataType attribute of the ModelGroup object |
String |
toString()
String representation of the ModelGroup object |
| Methods 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, prtln |
| Methods 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 |
ModelGroup
public ModelGroup(Element element,
String location,
Namespace namespace,
SchemaReader schemaReader)
- Constructor for the ModelGroup object
- Parameters:
element - Description of the Parameterlocation - Description of the Parameternamespace - NOT YET DOCUMENTED
getDataType
public int getDataType()
- Gets the dataType attribute of the ModelGroup object
- Specified by:
getDataType in interface GlobalDef- Overrides:
getDataType in class ComplexType
- Returns:
- COMPLEX_TYPE - The dataType value as an int
toString
public String toString()
- String representation of the ModelGroup object
- Specified by:
toString in interface GlobalDef- Overrides:
toString in class ComplexType
- Returns:
- a String representation of the ModelGroup object