|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bibalex.daf.handlers.statusdatahandler.NameValueInfo
public class NameValueInfo
Represents a NameValue piece of information.
This class is used to hold an Xml node on the form:
<Name>Value</Name> in an object oriented form.
| Field Summary | |
|---|---|
java.lang.String |
name
Holds the name of the element. |
java.lang.String |
value
Holds the value of the element. |
| Constructor Summary | |
|---|---|
NameValueInfo()
Creates a new instance of NameValueInfo. |
|
NameValueInfo(org.w3c.dom.Node node)
Creates a new instance of NameValueInfo. |
|
NameValueInfo(java.lang.String nodeRep)
Creates a new instance of NameValueInfo. |
|
NameValueInfo(java.lang.String name,
java.lang.String value)
Creates a new instance of NameValueInfo. |
|
| Method Summary | |
|---|---|
private void |
createElementFromNode(org.w3c.dom.Node node)
Creates the NameValueInfo by supplying its XmlNode represenation. |
java.lang.String |
toString()
Returns the string representation of this object. |
java.lang.String |
toXmlString()
Returns a String representing the NameValueInfo in xml format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String name
public java.lang.String value
| Constructor Detail |
|---|
public NameValueInfo()
public NameValueInfo(java.lang.String name,
java.lang.String value)
name - The name of the element.value - The value of the element.
public NameValueInfo(org.w3c.dom.Node node)
throws NameValueInfoException
node - The Xml Node representing this element.
NameValueInfoException - If the given node couldn't be parsed.
public NameValueInfo(java.lang.String nodeRep)
throws NameValueInfoException
nodeRep - The Xml String representing this element.
NameValueInfoException - If the given String couldn't be parsed.| Method Detail |
|---|
private void createElementFromNode(org.w3c.dom.Node node)
throws NameValueInfoException
node - The Xml Node representing this element.
NameValueInfoException - If the node couldn't be parsed.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toXmlString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||