|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dlese.dpc.xml.schema.GenericType
org.dlese.dpc.xml.schema.SimpleType
public class SimpleType
Wrapper for SimpleType definitions in XML Schemas. Filters out annotation elements for now
Field Summary |
---|
Fields inherited from class org.dlese.dpc.xml.schema.GenericType |
---|
element, inline, location, name, namespace, path, schemaReader, type, xsdPrefix |
Fields 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 | |
---|---|
SimpleType(Element element,
String location,
Namespace namespace,
SchemaReader schemaReader)
Constructor for the SimpleType object |
Method Summary | |
---|---|
int |
getDataType()
Gets the dataType attribute of the SimpleType object |
GlobalDef |
getEnumerationBaseType()
Returns the typeDef for the base enumeration type, or null if this SimpleType is not an enumeration |
List |
getSimpleEnumerationValues()
Gets the enumerationValues attribute of the SimpleType object |
List |
getUnionMemberTypeDefs()
Get a list of the type definitions for the members of a union type |
String[] |
getUnionMemberTypeNames()
Gets the unionMemberTypes attribute of the SimpleType object |
String |
getUnionMemberTypesAsString()
Gets the unionMemberTypesAsString attribute of the SimpleType object |
boolean |
isComboUnionType()
comboUnion types are enumerations with one additional member of either "xsd:string" or "stringTextType". |
boolean |
isEnumeration()
Gets the enumeration attribute of the SimpleType object |
boolean |
isUnion()
Gets the union attribute of the SimpleType object |
protected static void |
prtln(String s)
|
String |
toString()
Description of the Method |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleType(Element element, String location, Namespace namespace, SchemaReader schemaReader)
element
- Description of the Parameterlocation
- Description of the ParameterMethod Detail |
---|
public int getDataType()
getDataType
in interface GlobalDef
getDataType
in class GenericType
public boolean isEnumeration()
public GlobalDef getEnumerationBaseType()
public boolean isUnion()
public String getUnionMemberTypesAsString()
public String[] getUnionMemberTypeNames()
public List getUnionMemberTypeDefs()
public boolean isComboUnionType()
public List getSimpleEnumerationValues()
public String toString()
toString
in interface GlobalDef
toString
in class GenericType
protected static void prtln(String s)
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |