|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.xml.schema.GenericType org.dlese.dpc.xml.schema.BuiltInType
public class BuiltInType
wrapper for BuiltInType definitions (Element
).
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 | |
---|---|
BuiltInType(String name)
Constructor - |
|
BuiltInType(String name,
Namespace namespace)
|
Method Summary | |
---|---|
int |
getDataType()
Gets the dataType attribute of the GenericType object |
Element |
getElement()
Gets the element attribute of the GenericType object |
String |
getElementAsXml()
Gets the elementAsXml attribute of the GenericType object |
String |
getLocation()
Gets the location attribute of the GenericType object |
String |
getName()
Gets the name attribute of the GenericType object |
Namespace |
getNamespace()
Gets the namespace attribute of the GenericType object |
String |
getQualifiedInstanceName()
schemaReader is unavailable, so we return a bogus prefix |
String |
getQualifiedName()
Gets the qualifiedName attribute of the GenericType object |
SchemaReader |
getSchemaReader()
Gets the schemaReader attribute of the GenericType object |
String |
getType()
Gets the type attribute of the GenericType object |
String |
getXsdPrefix()
The xsdPrefix is the prefix (e.g., "xsd") used to refer to the Schema Datatype namespace (htp:/www.w3.org/2001/XMLSchema. |
boolean |
isAnyType()
|
boolean |
isBuiltIn()
Gets the builtIn attribute of the GenericType object |
boolean |
isComplexType()
Gets the complexType attribute of the GenericType object |
boolean |
isGlobalAttribute()
Gets the globalAttribute attribute of the GenericType object |
boolean |
isGlobalDeclaration()
Gets the globalDeclaration attribute of the GenericType object |
boolean |
isGlobalElement()
Gets the globalElement attribute of the GenericType object |
boolean |
isSimpleType()
Gets the simpleType attribute of the GenericType object |
String |
toString()
NOT YET DOCUMENTED |
Methods inherited from class org.dlese.dpc.xml.schema.GenericType |
---|
extractDocumentation, filterChildren, filterChildren, getChildren, getDocumentation, getEnumerationValues, getEnumerationValues, getFirstChild, isAttributeGroup, isEnumerationType, isInline, isModelGroup, isTypeDef, printElements, prtln, setInline |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BuiltInType(String name)
public BuiltInType(String name, Namespace namespace)
Method Detail |
---|
public SchemaReader getSchemaReader()
GenericType
getSchemaReader
in interface GlobalDef
getSchemaReader
in class GenericType
public boolean isSimpleType()
GenericType
isSimpleType
in interface GlobalDef
isSimpleType
in class GenericType
public boolean isComplexType()
GenericType
isComplexType
in interface GlobalDef
isComplexType
in class GenericType
public String getXsdPrefix()
GenericType
getXsdPrefix
in class GenericType
public boolean isGlobalElement()
GenericType
isGlobalElement
in interface GlobalDef
isGlobalElement
in class GenericType
public boolean isGlobalDeclaration()
GenericType
isGlobalDeclaration
in interface GlobalDef
isGlobalDeclaration
in class GenericType
public boolean isGlobalAttribute()
GenericType
isGlobalAttribute
in interface GlobalDef
isGlobalAttribute
in class GenericType
public boolean isBuiltIn()
GenericType
isBuiltIn
in interface GlobalDef
isBuiltIn
in class GenericType
public int getDataType()
GenericType
getDataType
in interface GlobalDef
getDataType
in class GenericType
public String getType()
GenericType
getType
in interface GlobalDef
getType
in class GenericType
public boolean isAnyType()
isAnyType
in interface GlobalDef
isAnyType
in class GenericType
public String getName()
GenericType
getName
in interface GlobalDef
getName
in class GenericType
public String getQualifiedName()
GenericType
getQualifiedName
in interface GlobalDef
getQualifiedName
in class GenericType
public String getQualifiedInstanceName()
getQualifiedInstanceName
in interface GlobalDef
getQualifiedInstanceName
in class GenericType
public Namespace getNamespace()
GenericType
getNamespace
in interface GlobalDef
getNamespace
in class GenericType
public String getLocation()
GenericType
getLocation
in interface GlobalDef
getLocation
in class GenericType
public Element getElement()
GenericType
getElement
in interface GlobalDef
getElement
in class GenericType
public String getElementAsXml()
GenericType
getElementAsXml
in interface GlobalDef
getElementAsXml
in class GenericType
public String toString()
GenericType
toString
in interface GlobalDef
toString
in class GenericType
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |