|
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.GlobalDeclaration
public class GlobalDeclaration
Wrapper for global delclarations in an XML Schema, which are defined as an immediate child of the schema element.
Global Declarations do NOT define a data type or model, but they do define a construct that can be referred to by other schema elements via the "ref" attribute.
| Field Summary | |
|---|---|
protected static boolean |
debug
|
protected String |
documentation
|
protected Element |
element
|
protected String |
location
|
protected String |
name
|
protected Namespace |
namespace
|
protected SchemaReader |
schemaReader
|
protected String |
type
|
protected String |
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 | |
|---|---|
GlobalDeclaration(Element element,
String location,
Namespace namespace,
SchemaReader schemaReader)
Constructor for the GlobalDeclaration object |
|
| Method Summary | |
|---|---|
void |
extractDocumentation()
|
int |
getDataType()
Gets the dataType attribute of the GlobalDeclaration object |
String |
getDocumentation()
|
Element |
getElement()
Gets the element attribute of the GlobalDeclaration object |
String |
getElementAsXml()
|
String |
getLocation()
Gets the location attribute of the GlobalDeclaration object |
String |
getName()
Gets the name attribute of the GlobalDeclaration object |
Namespace |
getNamespace()
Gets the namespace attribute of the GlobalDeclaration object |
String |
getQualifiedInstanceName()
use prefix for namespace as defined at the instance level. |
String |
getQualifiedName()
|
SchemaReader |
getSchemaReader()
|
String |
getType()
Gets the type attribute of the GlobalDeclaration object |
boolean |
isAnyType()
|
boolean |
isAttributeGroup()
|
boolean |
isBuiltIn()
Gets the builtIn attribute of the GlobalDeclaration object |
boolean |
isComplexType()
Gets the complexType attribute of the GlobalDeclaration object |
boolean |
isGlobalAttribute()
|
boolean |
isGlobalDeclaration()
Gets the GlobalDeclaration attribute of the GlobalDeclaration object |
boolean |
isGlobalElement()
|
boolean |
isModelGroup()
|
boolean |
isSimpleType()
Gets the simpleType attribute of the GlobalDeclaration object |
boolean |
isTypeDef()
Gets the builtIn attribute of the GlobalDef object |
protected static void |
prtln(String s)
|
protected static void |
prtlnErr(String s)
|
String |
toString()
NOT YET DOCUMENTED |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static boolean debug
protected String name
protected String type
protected Element element
protected String location
protected Namespace namespace
protected SchemaReader schemaReader
protected String documentation
protected String xsdPrefix
| Constructor Detail |
|---|
public GlobalDeclaration(Element element,
String location,
Namespace namespace,
SchemaReader schemaReader)
element - NOT YET DOCUMENTEDlocation - NOT YET DOCUMENTEDnamespace - NOT YET DOCUMENTED| Method Detail |
|---|
public SchemaReader getSchemaReader()
getSchemaReader in interface GlobalDefpublic boolean isTypeDef()
GlobalDef
isTypeDef in interface GlobalDefpublic void extractDocumentation()
public String getDocumentation()
getDocumentation in interface GlobalDefpublic boolean isSimpleType()
isSimpleType in interface GlobalDefpublic boolean isComplexType()
isComplexType in interface GlobalDefpublic boolean isModelGroup()
isModelGroup in interface GlobalDefpublic boolean isGlobalDeclaration()
isGlobalDeclaration in interface GlobalDefpublic boolean isGlobalAttribute()
isGlobalAttribute in interface GlobalDefpublic boolean isGlobalElement()
isGlobalElement in interface GlobalDefpublic boolean isAttributeGroup()
isAttributeGroup in interface GlobalDefpublic boolean isBuiltIn()
isBuiltIn in interface GlobalDefpublic boolean isAnyType()
isAnyType in interface GlobalDefpublic int getDataType()
getDataType in interface GlobalDefpublic String getType()
getType in interface GlobalDefpublic String getName()
getName in interface GlobalDefpublic String getQualifiedName()
getQualifiedName in interface GlobalDefpublic String getQualifiedInstanceName()
getQualifiedInstanceName in interface GlobalDefpublic Namespace getNamespace()
getNamespace in interface GlobalDefpublic String getLocation()
getLocation in interface GlobalDefpublic Element getElement()
getElement in interface GlobalDefpublic String getElementAsXml()
getElementAsXml in interface GlobalDefpublic String toString()
toString in interface GlobalDeftoString in class Objectprotected static void prtln(String s)
protected static void prtlnErr(String s)
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||