|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GlobalDef
Interface for classes encapsulating XML Schema Elements, such as Elements, Attributes, and Type Definitions. There are two "families" of GlobalDefs: type definitions and declarations. Type definitions include GenericType, BuiltInType, SimpleType and ComplexType. Global Declarations include GlobalElement and GlobalAttributes.
$Id $
Field Summary | |
---|---|
static int |
ATTRIBUTE_GROUP
|
static int |
BUILT_IN_TYPE
|
static int |
COMPLEX_TYPE
|
static int |
GENERIC_TYPE
|
static int |
GLOBAL_ATTRIBUTE
|
static int |
GLOBAL_DECLARATION
|
static int |
GLOBAL_ELEMENT
|
static int |
MODEL_GROUP
|
static int |
SIMPLE_TYPE
|
Method Summary | |
---|---|
int |
getDataType()
Returns an integer contant that specifies whether this GlobalDef is Generic, Simple, Complex, Global or Built-in datatype. |
String |
getDocumentation()
|
Element |
getElement()
Gets the element attribute of the GlobalDef object |
String |
getElementAsXml()
|
String |
getLocation()
Returns string representation of URI to the schema file in which this GlobalDef is defined. |
String |
getName()
Returns the dataType name for this GlobalDef (e.g., "union.dateType", "stringTextType", etc). |
Namespace |
getNamespace()
|
String |
getQualifiedInstanceName()
use prefix for namespace as defined at the instance level. |
String |
getQualifiedName()
|
SchemaReader |
getSchemaReader()
|
String |
getType()
Returns string representation of the Global Def's dataType (e.g., "simpleType", "complexType", etc). |
boolean |
isAnyType()
|
boolean |
isAttributeGroup()
|
boolean |
isBuiltIn()
Gets the builtIn attribute of the GlobalDef object |
boolean |
isComplexType()
Gets the complexType attribute of the GlobalDef object |
boolean |
isGlobalAttribute()
|
boolean |
isGlobalDeclaration()
Gets the globalElement attribute of the GlobalDef object |
boolean |
isGlobalElement()
|
boolean |
isModelGroup()
|
boolean |
isSimpleType()
Gets the simpleType attribute of the GlobalDef object |
boolean |
isTypeDef()
Gets the builtIn attribute of the GlobalDef object |
String |
toString()
Description of the Method |
Field Detail |
---|
static final int GENERIC_TYPE
static final int SIMPLE_TYPE
static final int COMPLEX_TYPE
static final int GLOBAL_DECLARATION
static final int GLOBAL_ELEMENT
static final int GLOBAL_ATTRIBUTE
static final int BUILT_IN_TYPE
static final int MODEL_GROUP
static final int ATTRIBUTE_GROUP
Method Detail |
---|
int getDataType()
String getType()
String getDocumentation()
String getName()
Namespace getNamespace()
String getQualifiedName()
String getQualifiedInstanceName()
String getLocation()
Element getElement()
String getElementAsXml()
String toString()
toString
in class Object
SchemaReader getSchemaReader()
boolean isTypeDef()
boolean isBuiltIn()
boolean isAnyType()
boolean isSimpleType()
boolean isComplexType()
boolean isModelGroup()
boolean isAttributeGroup()
boolean isGlobalDeclaration()
boolean isGlobalElement()
boolean isGlobalAttribute()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |