|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxdrs_impl.genericdb.Node
This class represents a generic Node. It should be the parent of all types that are to be stored.
| Constructor Summary | |
Node(java.lang.String name,
java.lang.String type,
java.lang.String typeNamespace,
org.gjt.xpp.XmlNode metadata,
java.lang.String dataHtml,
java.lang.String reference)
Create a node with the given description. |
|
Node(org.gjt.xpp.XmlNode node)
Create a node for the given XML representation. |
|
| Method Summary | |
java.lang.String |
getDataHtml()
Get the node's html. |
int |
getId()
Get the node's id. |
org.gjt.xpp.XmlNode |
getMetadata()
Get the node's metadata. |
java.lang.String |
getName()
Get the node's name. |
java.lang.String |
getReference()
Get the node's reference. |
java.lang.String |
getType()
Get the node's type. |
java.lang.String |
getTypeNamespace()
Get the node's type's namespace. |
org.gjt.xpp.XmlNode |
getXmlNodeRepresentation()
Get an XML representation of the node. |
protected void |
setDataHtml(java.lang.String dataHtml)
Set the node's html. |
void |
setId(int id)
Set the node's id. |
protected void |
setMetadata(org.gjt.xpp.XmlNode metadata)
Set the node's metadata. |
protected void |
setName(java.lang.String name)
Set the node's name. |
protected void |
setReference(java.lang.String reference)
Set the node's reference. |
protected void |
setType(java.lang.String type,
java.lang.String typeNamespace)
Set the node's type and type's namespace. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Node(org.gjt.xpp.XmlNode node)
throws org.gjt.xpp.XmlPullParserException,
soaprmi.RemoteException
node - An XML representation of a node.
org.gjt.xpp.XmlPullParserException
soaprmi.RemoteException
public Node(java.lang.String name,
java.lang.String type,
java.lang.String typeNamespace,
org.gjt.xpp.XmlNode metadata,
java.lang.String dataHtml,
java.lang.String reference)
throws soaprmi.RemoteException,
org.gjt.xpp.XmlPullParserException
name - The node's name.type - The node's type.typeNamespace - The node's type's namespace.metadata - The node's metadata.dataHtml - The node's html.reference - An external reference to the node.
soaprmi.RemoteException
org.gjt.xpp.XmlPullParserException| Method Detail |
public org.gjt.xpp.XmlNode getXmlNodeRepresentation()
throws org.gjt.xpp.XmlPullParserException
org.gjt.xpp.XmlPullParserExceptionpublic java.lang.String getName()
public java.lang.String getType()
public java.lang.String getTypeNamespace()
public org.gjt.xpp.XmlNode getMetadata()
public java.lang.String getDataHtml()
public java.lang.String getReference()
public int getId()
public void setId(int id)
id - The node's id.
protected void setName(java.lang.String name)
throws soaprmi.RemoteException
name - The node's name.
soaprmi.RemoteException
protected void setType(java.lang.String type,
java.lang.String typeNamespace)
type - The node's type.typeNamespace - The node's type's namespace.protected void setDataHtml(java.lang.String dataHtml)
dataHtml - The node's html.
protected void setMetadata(org.gjt.xpp.XmlNode metadata)
throws org.gjt.xpp.XmlPullParserException
metadata - The node's metadata.
org.gjt.xpp.XmlPullParserExceptionprotected void setReference(java.lang.String reference)
reference - The node's reference.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||