|
Data Request Broker 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.gael.drb.xsd.XsdType
public abstract class XsdType
Declaration of a general XML-Schema type.
| Field Summary | |
|---|---|
protected XsdType |
base
The base of this type. |
protected int |
derivationMethod
The derivation method. |
static int |
EXTENSION_METHOD
extension method. |
protected String |
name
Name of this type definition. |
static int |
RESTRICTION_METHOD
restriction method. |
protected XmlSchema |
schema
The XML-Schema of this type. |
protected String |
targetNamespace
The target namespace of this type. |
| Constructor Summary | |
|---|---|
protected |
XsdType()
Build a default type definition |
protected |
XsdType(String name,
XsdType base)
Build a default type definition |
| Method Summary | |
|---|---|
XsdAnnotation |
getAnnotation()
Returns annotation of this component. |
XsdType |
getBase()
Returns the base of this type. |
abstract XsdSimpleType |
getDatatype()
Returns the simple content of this type. |
Set<XsdType> |
getDerivation()
Returns the local derivation of this type. |
DrbAttributeList |
getExternalAttributes()
Returns the external attributes of this component. |
DrbNodeList |
getExternalNodes()
Returns the external nodes of this component. |
String |
getName()
Returns the name of this type. |
XmlSchema |
getSchema()
Returns the schema of this type. |
abstract XsdComplexType |
getStructure()
Returns the structure of this type. |
String |
getTargetNamespace()
Returns the target namespace of this type. |
abstract boolean |
isComplex()
Returns whether this type is complex or simple. |
XsdInvalid |
isValid(DrbNode node)
Validates this node. |
void |
setAnnotation(XsdAnnotation annotation)
Set annotation of this component. |
void |
setExternalAttributes(DrbAttributeList external_attributes)
Set the external attributes of this component. |
void |
setExternalNodes(DrbNodeList external_nodes)
Set the external nodes of this component. |
void |
setTargetNamespace(String target_namespace)
Set the target namespace of this type. |
String |
toString()
Returns a string description of this type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int EXTENSION_METHOD
public static final int RESTRICTION_METHOD
protected XsdType base
protected int derivationMethod
protected XmlSchema schema
protected String name
protected String targetNamespace
| Constructor Detail |
|---|
protected XsdType()
protected XsdType(String name,
XsdType base)
name - String namebase - XsdType| Method Detail |
|---|
public final String getName()
public final XsdType getBase()
public final XmlSchema getSchema()
public final Set<XsdType> getDerivation()
public abstract boolean isComplex()
public abstract XsdSimpleType getDatatype()
public abstract XsdComplexType getStructure()
public String toString()
toString in class Objectpublic XsdInvalid isValid(DrbNode node)
node - DrbNode
public final XsdAnnotation getAnnotation()
public final void setAnnotation(XsdAnnotation annotation)
annotation - The annotation of this componentpublic final DrbNodeList getExternalNodes()
public final void setExternalNodes(DrbNodeList external_nodes)
external_nodes - The list of the nodepublic final DrbAttributeList getExternalAttributes()
public final void setExternalAttributes(DrbAttributeList external_attributes)
external_attributes - The list of the attributespublic final String getTargetNamespace()
public final void setTargetNamespace(String target_namespace)
target_namespace - the target namespace of this type.
|
Data Request Broker - DRB API® 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||