|
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
fr.gael.drb.xsd.XsdComplexType
public class XsdComplexType
Declaration of an XML-Schema complex type.
| Field Summary | |
|---|---|
protected String |
targetNamespace
The target namespace of this type. |
| Fields inherited from class fr.gael.drb.xsd.XsdType |
|---|
base, derivationMethod, EXTENSION_METHOD, name, RESTRICTION_METHOD, schema |
| Constructor Summary | |
|---|---|
XsdComplexType(String name,
XsdAttributeGroup attrib_group,
XsdModelGroup complex_content,
XsdType base_type,
int derivation_method)
Build a complex type with a complex content. |
|
XsdComplexType(String name,
XsdModelGroup complex_content,
XsdType base_type)
Build a complex type with a complex content. |
|
| Method Summary | |
|---|---|
XsdAnnotation |
getAnnotation()
Returns annotation of this component. |
XsdAttributeGroup |
getAttributeGroup()
Returns the attribute group of this type. |
XsdModelGroup |
getComplexContent()
Returns the complex content of this type. |
XsdSimpleType |
getDatatype()
Returns the simple content of this type. |
DrbAttributeList |
getExternalAttributes()
Returns the external attributes of this component. |
DrbNodeList |
getExternalNodes()
Returns the external nodes of this component. |
XsdComplexType |
getStructure()
Returns the structure of this type. |
String |
getTargetNamespace()
Returns the target namespace of this type. |
boolean |
isComplex()
Check if this type is complex. |
XsdInvalid |
isValid(DrbNode node)
Validates this node. |
boolean |
isValid(Value value)
Validates the present value. |
static void |
main(String[] args)
Makes this class runnable for testing. |
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. |
| Methods inherited from class fr.gael.drb.xsd.XsdType |
|---|
getBase, getDerivation, getName, getSchema, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String targetNamespace
| Constructor Detail |
|---|
public XsdComplexType(String name,
XsdModelGroup complex_content,
XsdType base_type)
name - The name typecomplex_content - The model groupbase_type - The type
public XsdComplexType(String name,
XsdAttributeGroup attrib_group,
XsdModelGroup complex_content,
XsdType base_type,
int derivation_method)
name - The name typecomplex_content - The model groupbase_type - The typederivation_method - The derivation methodattrib_group - The attribute group| Method Detail |
|---|
public XsdAttributeGroup getAttributeGroup()
public XsdModelGroup getComplexContent()
public final boolean isComplex()
isComplex in class XsdTypepublic final XsdSimpleType getDatatype()
getDatatype in class XsdTypepublic final XsdComplexType getStructure()
getStructure in class XsdTypepublic boolean isValid(Value value)
isValid in interface ValueValidatorvalue - The value
public XsdInvalid isValid(DrbNode node)
node - The node
public static void main(String[] args)
args - String[]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 | |||||||||