|
Data Request Broker 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XsdNode
A XML-Schema validator wrapper for DrbNodes.
| Field Summary |
|---|
| Fields inherited from interface fr.gael.drb.DrbItem |
|---|
ATTRIBUTE_ITEM, NODE_ITEM, UNDEFINED_ITEM, VALUE_ITEM |
| Method Summary | |
|---|---|
DrbAttribute |
getAttribute(String name)
Returns an attribute matching a specific name. |
DrbAttributeList |
getAttributes()
The attributes of the nodes. |
DrbNode |
getChildAt(int index)
Reference to a specific child. |
DrbNodeList |
getChildren()
The list of children of the current node. |
int |
getChildrenCount()
Number of children. |
DrbNode |
getFirstChild()
Reference to the first child of the current node. |
int |
getIndex()
Index of the node. |
DrbNode |
getLastChild()
Reference to the last child of the current node. |
String |
getName()
Name of the node. |
DrbNode |
getNamedChild(String name,
int occurence)
Returns an occurrence of child matching a specific name. |
String |
getNamespaceURI()
Get namespace URI. |
DrbNode |
getNextSibling()
Next sibling of the current node. |
DrbNode |
getParent()
The parent of this node. |
String |
getPath()
The full path of the node. |
DrbNode |
getPreviousSibling()
Previous sibling of the current node. |
DrbNode |
getRoot()
Root node. |
Value |
getValue()
The value of the node. |
int |
getValueType()
The value type of the node. |
boolean |
hasChild()
Checks if current node is parent of at least one child. |
XsdInvalid |
isValid()
Check the conformance of a node to its type. |
| Methods inherited from interface fr.gael.drb.DrbNode |
|---|
appendChild, insertChild, removeChild, replaceChild, setAttributes, setNamespaceURI, setValue |
| Methods inherited from interface fr.gael.drb.DrbItem |
|---|
getItemType, rename |
| Method Detail |
|---|
XsdInvalid isValid()
String getName()
getName in interface DrbItemint getIndex()
DrbNode getRoot()
String getPath()
String getNamespaceURI()
getNamespaceURI in interface DrbItemint getValueType()
Value getValue()
getValue in interface DrbItemDrbAttributeList getAttributes()
DrbAttribute getAttribute(String name)
name - The name to match.
DrbNode getParent()
DrbNodeList getChildren()
boolean hasChild()
true if current node has at least one child,
false otherwise.
DrbNode getNamedChild(String name,
int occurence)
name - The name to match.occurence - The occurrence number of the desired child.
null if not found.DrbNode getFirstChild()
DrbNode getLastChild()
DrbNode getChildAt(int index)
index - The position of the node to retrieve starting from 0 and not
greater or equal to the number of children.
int getChildrenCount()
DrbNode getPreviousSibling()
DrbNode getNextSibling()
|
Data Request Broker - DRB API® 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||