|
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.XsdElement
public class XsdElement
Declaration of a general XML-Schema element.
| Field Summary | |
|---|---|
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 | |
|---|---|
XsdElement(int min_occurs,
int max_occurs,
String name,
XsdType type)
Build an XML-Schema element. |
|
| Method Summary | |
|---|---|
XsdAnnotation |
getAnnotation()
Returns annotation of this component. |
int |
getConstraint()
Returns the constraint of the value. |
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 element. |
XsdElement |
getSubstitutionGroupAffiliation()
Returns the substitution group affiliation. |
String |
getTargetNamespace()
Returns the target namespace of this type. |
int |
getTerm()
Returns the term attribute. |
XsdType |
getType()
Returns the type of this element. |
Value |
getValue()
Returns the value of this element. |
boolean |
isAbstract()
Say wether this element is abstract. |
XsdInvalid |
isValid(DrbNode node)
Validates this node. |
XsdInvalid |
isValid(DrbNodeList node_list)
Validates this node list. |
int |
search(DrbNodeList node_list,
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 |
|---|
protected String targetNamespace
| Constructor Detail |
|---|
public XsdElement(int min_occurs,
int max_occurs,
String name,
XsdType type)
min_occurs - the minimum if the occurencemax_occurs - the maximum of the occurencename - the name of the elementtype - the type of the element| Method Detail |
|---|
public final String getName()
public final boolean isAbstract()
public final XsdType getType()
public final XsdElement getSubstitutionGroupAffiliation()
public final Value getValue()
public final int getConstraint()
public final int getTerm()
getTerm in class XsdParticlepublic XsdInvalid isValid(DrbNode node)
node - the node
public XsdInvalid isValid(DrbNodeList node_list)
node_list - the node list
public int search(DrbNodeList node_list,
int start)
node_list - the list of nodesstart - the begining of the list
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 | |||||||||