|
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.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 DOCUMENTEDMethod Detail |
---|
public SchemaReader getSchemaReader()
getSchemaReader
in interface GlobalDef
public boolean isTypeDef()
GlobalDef
isTypeDef
in interface GlobalDef
public void extractDocumentation()
public String getDocumentation()
getDocumentation
in interface GlobalDef
public boolean isSimpleType()
isSimpleType
in interface GlobalDef
public boolean isComplexType()
isComplexType
in interface GlobalDef
public boolean isModelGroup()
isModelGroup
in interface GlobalDef
public boolean isGlobalDeclaration()
isGlobalDeclaration
in interface GlobalDef
public boolean isGlobalAttribute()
isGlobalAttribute
in interface GlobalDef
public boolean isGlobalElement()
isGlobalElement
in interface GlobalDef
public boolean isAttributeGroup()
isAttributeGroup
in interface GlobalDef
public boolean isBuiltIn()
isBuiltIn
in interface GlobalDef
public boolean isAnyType()
isAnyType
in interface GlobalDef
public int getDataType()
getDataType
in interface GlobalDef
public String getType()
getType
in interface GlobalDef
public String getName()
getName
in interface GlobalDef
public String getQualifiedName()
getQualifiedName
in interface GlobalDef
public String getQualifiedInstanceName()
getQualifiedInstanceName
in interface GlobalDef
public Namespace getNamespace()
getNamespace
in interface GlobalDef
public String getLocation()
getLocation
in interface GlobalDef
public Element getElement()
getElement
in interface GlobalDef
public String getElementAsXml()
getElementAsXml
in interface GlobalDef
public String toString()
toString
in interface GlobalDef
toString
in class Object
protected 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 |