|
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.DrbDefaultNodesChangeProducer
fr.gael.drb.DrbAbstractNode
fr.gael.drb.impl.DrbNodeImpl
fr.gael.drb.impl.xml.XmlDocument
public class XmlDocument
DOM Document
| Field Summary | |
|---|---|
protected DrbNode |
baseNode
baseNode |
protected Document |
document
The Document node. |
| Fields inherited from interface fr.gael.drb.DrbItem |
|---|
ATTRIBUTE_ITEM, NODE_ITEM, UNDEFINED_ITEM, VALUE_ITEM |
| Constructor Summary | |
|---|---|
protected |
XmlDocument(Document document)
Builds a new XmlDocument from a Document node |
protected |
XmlDocument(DrbNode base_node)
Builds a new XmlDocument from a file node. |
protected |
XmlDocument(InputSource input_source)
Builds a new XmlDocument from a InputSource |
|
XmlDocument(InputStream input_stream)
Builds a new XmlDocument from an input stream. |
|
XmlDocument(Reader reader)
Builds a new XmlDocument from a standard reader . |
|
XmlDocument(String xml_string)
Builds a new XmlDocument from a string. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Indicates whether this node is "equal to" to another node. |
DrbAttributeList |
getAttributes()
The attributes of the nodes. |
DrbNodeList |
getChildren()
The list of children of the XML document. |
DrbSequence |
getContent()
The root content of the XML document. |
Object |
getImpl(Class api)
Returns a specific implementation. |
int |
getIndex()
Returns the index of the node. |
String |
getName()
Name of the node. |
String |
getNamespaceURI()
Get namespace URI. |
DrbNode |
getParent()
The parent of this node. |
String |
getPath()
The full path of the node. |
DrbNode |
getRoot()
Root node. |
Value |
getValue()
The value of the node. |
int |
getValueType()
The value type of the node. |
boolean |
hasImpl(Class api)
Tests if a specific interface can be provided. |
| Methods inherited from class fr.gael.drb.impl.DrbNodeImpl |
|---|
close, createAttribute, createNode, flush, getProvider |
| Methods inherited from class fr.gael.drb.DrbAbstractNode |
|---|
allowsMultiOccurrence, appendChild, appendReference, getAttribute, getChildAt, getChildrenCount, getFirstChild, getItemType, getLastChild, getNamedChild, getNamespaceBindings, getNextSibling, getOccurrence, getPreviousSibling, getXPathName, getXPathName, hasChild, insertChild, removeChild, rename, replaceChild, setAttributes, setNamespaceBindings, setNamespaceURI, setValue, toString |
| Methods inherited from class fr.gael.drb.DrbDefaultNodesChangeProducer |
|---|
addNodesChangeListener, getListenerList, nodesChanged, nodesInserted, nodesRemoved, removeNodesChangeListener, setListenerList, structureChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Document document
protected DrbNode baseNode
| Constructor Detail |
|---|
public XmlDocument(String xml_string)
xml_string - The XML string. This parameter shall never be null.public XmlDocument(Reader reader)
reader - The reader to build the document.public XmlDocument(InputStream input_stream)
input_stream - The input stream to build the document.protected XmlDocument(DrbNode base_node)
base_node - A reference to a the base node of an external
implementation.protected XmlDocument(InputSource input_source)
input_source - The input source to build the DOM node.protected XmlDocument(Document document)
document - The DOM document.| Method Detail |
|---|
public boolean equals(Object obj)
equals in class DrbAbstractNodeobj - another value.
public String getName()
getName in class DrbAbstractNodepublic String getNamespaceURI()
getNamespaceURI in class DrbAbstractNodepublic String getPath()
getPath in class DrbAbstractNodepublic int getIndex()
getIndex in class DrbAbstractNodepublic int getValueType()
getValueType in class DrbAbstractNodepublic Value getValue()
getValue in class DrbAbstractNodepublic DrbAttributeList getAttributes()
getAttributes in class DrbAbstractNodepublic DrbNode getRoot()
getRoot in class DrbAbstractNodeDrbSimpleNode.getRoot()public DrbNode getParent()
getParent in class DrbAbstractNodepublic DrbNodeList getChildren()
getChildren in class DrbAbstractNodepublic DrbSequence getContent()
getContent in class DrbAbstractNodepublic boolean hasImpl(Class api)
hasImpl in class DrbNodeImplapi - The class type to test.
public Object getImpl(Class api)
getImpl in class DrbNodeImplapi - The interface (or class) to be provided.
|
Data Request Broker - DRB API® 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||