|
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.XsdParticle
fr.gael.drb.xsd.XsdModelGroup
public class XsdModelGroup
Declaration of an XML-Schema model group.
| Field Summary | |
|---|---|
static int |
ALL_MODEL
All model. |
static int |
CHOICE_MODEL
Choice model. |
static int |
SEQUENCE_MODEL
Sequence model. |
protected String |
targetNamespace
The target namespace of this type. |
| Fields inherited from class fr.gael.drb.xsd.XsdParticle |
|---|
ELEMENT_TERM, MODEL_GROUP_TERM, UNBOUNDED_OCCURS, WILDCARD_TERM |
| Constructor Summary | |
|---|---|
XsdModelGroup(int minoccurs,
int maxoccurs,
XsdParticle[] content,
int compositor)
Build a model group. |
|
| Method Summary | |
|---|---|
XsdAnnotation |
getAnnotation()
Returns annotation of this component. |
int |
getCompositor()
Returns the compositor of this model group. |
DrbAttributeList |
getExternalAttributes()
Returns the external attributes of this component. |
DrbNodeList |
getExternalNodes()
Returns the external nodes of this component. |
int |
getLength()
Returns the length of this model group. |
XsdParticle |
getParticle(int index)
Returns a particle of this model group. |
String |
getTargetNamespace()
Returns the target namespace of this type. |
int |
getTerm()
Returns the term attribute. |
boolean |
isNillable()
Returns true if this particle is nillable or false otherwise. |
XsdInvalid |
isValid(DrbNodeList nodelist)
Validates this node list. |
static void |
main(String[] args)
Makes this class runnable for testing. |
int |
search(DrbNodeList nodelist,
int start)
Search a pattern in the list. |
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.XsdParticle |
|---|
getMaxOccurs, getMinOccurs, setOccurs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SEQUENCE_MODEL
public static final int CHOICE_MODEL
public static final int ALL_MODEL
protected String targetNamespace
| Constructor Detail |
|---|
public XsdModelGroup(int minoccurs,
int maxoccurs,
XsdParticle[] content,
int compositor)
minoccurs - the minimum occurencemaxoccurs - the maximum occurencecontent - the particlecompositor - int| Method Detail |
|---|
public final boolean isNillable()
public final int getTerm()
getTerm in class XsdParticlepublic final int getCompositor()
public final XsdParticle getParticle(int index)
index - index
public final int getLength()
public XsdInvalid isValid(DrbNodeList nodelist)
nodelist - nodeList
public int search(DrbNodeList nodelist,
int start)
nodelist - DrbNodeListstart - int
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 | |||||||||