|
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.XsdSimpleType
fr.gael.drb.xsd.XsdListType
public class XsdListType
Declaration of an XML-Schema list type.
| Field Summary | |
|---|---|
static int |
LIST_METHOD
List derivation method. |
protected String |
targetNamespace
The target namespace of this type. |
| Fields inherited from class fr.gael.drb.xsd.XsdSimpleType |
|---|
ALL_FINAL, ATOMIC_VARIETY, EMPTY_FINAL, facets, finals, LIST_FINAL, LIST_VARIETY, RESTRICTION_FINAL, UNION_FINAL, UNION_VARIETY |
| Fields inherited from class fr.gael.drb.xsd.XsdType |
|---|
base, derivationMethod, EXTENSION_METHOD, name, RESTRICTION_METHOD, schema |
| Fields inherited from interface fr.gael.drb.xsd.XsdValueSpace |
|---|
COUNTABLY_INFINITE, FINITE, PARTIAL, TOTAL, UNCOUNTABLY_INFINITE, UNDEFINED |
| Constructor Summary | |
|---|---|
XsdListType(String name,
XsdSimpleType base_type,
XsdFacet[] facets)
Build an XsdListType. |
|
XsdListType(XsdSimpleType item_type,
XsdFacet[] facets)
Build an XsdListType. |
|
| Method Summary | |
|---|---|
XsdAnnotation |
getAnnotation()
Returns annotation of this component. |
int |
getCardinality()
Returns the cardinality of this value space. |
Value |
getExclusiveLowerBound()
Returns the exclusive lower bound. |
Value |
getExclusiveUpperBound()
Returns the exclusive upper bound. |
DrbAttributeList |
getExternalAttributes()
Returns the external attributes of this component. |
DrbNodeList |
getExternalNodes()
Returns the external nodes of this component. |
Value |
getInclusiveLowerBound()
Returns the inclusive lower bound. |
Value |
getInclusiveUpperBound()
Returns the inclusive upper bound. |
XsdSimpleType |
getItemType()
Returns the item type of this list. |
int |
getItemTypeId()
Returns the Value identifier of the items. |
int |
getOrderRelation()
Returns the order-relation of this value space. |
String |
getTargetNamespace()
Returns the target namespace of this type. |
int |
getTypeId()
Returns the identifier of this simple type. |
Value |
getValue(String text)
Create a value from a string. |
int |
getVariety()
Returns the variety of this simple type. |
boolean |
isBounded()
A datatype is bounded if its value space has either an inclusive upper bound or an exclusive upper bound and either an inclusive lower bound and an exclusive lower bound. |
boolean |
isNumeric()
A datatype is said to be numeric if its values are conceptually quantities (in some mathematical number system). |
boolean |
isOrdered()
A value space, is said to be ordered if there exists an order-relation defined for that value space. |
protected boolean |
isValidType(Value value)
Validates the type of 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. |
XsdInvalid |
validate(Value value)
Validates the present value. |
| Methods inherited from class fr.gael.drb.xsd.XsdSimpleType |
|---|
getDatatype, getFacets, getFinals, getStructure, isComplex, isValid, isValid |
| 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 |
|---|
public static final int LIST_METHOD
protected String targetNamespace
| Constructor Detail |
|---|
public XsdListType(String name,
XsdSimpleType base_type,
XsdFacet[] facets)
name - the namebase_type - the base typefacets - the facets
public XsdListType(XsdSimpleType item_type,
XsdFacet[] facets)
item_type - the item typefacets - the facets| Method Detail |
|---|
public final int getVariety()
getVariety in class XsdSimpleTypepublic final XsdSimpleType getItemType()
public final int getTypeId()
getTypeId in class XsdSimpleTypeValuepublic int getItemTypeId()
public Value getValue(String text)
getValue in class XsdSimpleTypetext - the string representation of the value.
public boolean isOrdered()
public int getOrderRelation()
PARTIAL,
TOTALpublic boolean isBounded()
public Value getInclusiveLowerBound()
public Value getInclusiveUpperBound()
public Value getExclusiveLowerBound()
public Value getExclusiveUpperBound()
public int getCardinality()
XsdValueSpace.FINITE,
XsdValueSpace.COUNTABLY_INFINITE,
XsdValueSpace.UNCOUNTABLY_INFINITEpublic boolean isNumeric()
protected boolean isValidType(Value value)
isValidType in class XsdSimpleTypevalue - the value
public XsdInvalid validate(Value value)
validate in class XsdSimpleTypevalue - the value
public static void main(String[] args)
args - strimg[]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 | |||||||||