|
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.URLNode
public class URLNode
URL node implementation
| Field Summary | |
|---|---|
protected InputStream |
inputstream
The inputStream used to read ftp node |
protected URL |
url
The URL |
| Fields inherited from interface fr.gael.drb.DrbItem |
|---|
ATTRIBUTE_ITEM, NODE_ITEM, UNDEFINED_ITEM, VALUE_ITEM |
| Constructor Summary | |
|---|---|
URLNode(URL url)
Creates a URLNode with an url |
|
| Method Summary | |
|---|---|
boolean |
allowsMultiOccurrence()
Check if this node may have multiple occurrence |
protected URLNode |
createNode(URL url)
This method create a url node with aa url |
boolean |
equals(Object obj)
Indicates whether this node is "equal to" to another node. |
DrbNodeList |
getChildren()
The list of child nodes. |
Object |
getImpl(Class api)
Returns a specific implementation. |
String |
getName()
This methods returns the name of the URL node |
DrbNode |
getNamedChild(String name,
int occurence)
Returns an occurence of the node matching the specified name. |
DrbNode |
getParent()
This method returns the parent node |
String |
getPath()
Returns the URL path |
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 |
|---|
appendChild, appendReference, getAttribute, getAttributes, getChildAt, getChildrenCount, getContent, getFirstChild, getIndex, getItemType, getLastChild, getNamespaceBindings, getNamespaceURI, getNextSibling, getOccurrence, getPreviousSibling, getRoot, getValue, getValueType, 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 URL url
protected InputStream inputstream
| Constructor Detail |
|---|
public URLNode(URL url)
url - the url| Method Detail |
|---|
public boolean allowsMultiOccurrence()
allowsMultiOccurrence in class DrbAbstractNodepublic boolean equals(Object obj)
equals in class DrbAbstractNodeobj - another value.
public String getName()
getName in class DrbAbstractNodepublic DrbNodeList getChildren()
getChildren in class DrbAbstractNodepublic DrbNode getParent()
getParent in class DrbAbstractNodepublic String getPath()
getPath in class DrbAbstractNode
public DrbNode getNamedChild(String name,
int occurence)
getNamedChild in class DrbAbstractNodename - the name of the nameoccurence - the occurence number of the node
protected URLNode createNode(URL url)
url - the URL
public 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 | |||||||||