|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bibalex.daf.handlers.statusdatahandler.DatabaseInfoDef
public class DatabaseInfoDef
Represents an Xml node with the following format:
<Database>
<Name>Value</Name>
.
.
</Database>
| Field Summary | |
|---|---|
java.util.ArrayList<NameValueInfo> |
information
Holds the NameValueInfo contained within this instance. |
| Constructor Summary | |
|---|---|
DatabaseInfoDef()
Creates a new instance of DatabaseInfoDef. |
|
DatabaseInfoDef(org.w3c.dom.Node node)
Creates a new instance of DatabaseInfoDef. |
|
DatabaseInfoDef(java.lang.String nodeRep)
Creates a new instance of DatabaseInfoDef. |
|
| Method Summary | |
|---|---|
private void |
createElementFromNode(org.w3c.dom.Node node)
Creates the DatabaseInfoDef element by supplying its XmlNode represenation. |
NameValueInfo[] |
getElements()
Gets the elements defined within this section. |
java.lang.String |
toString()
Returns the string representation of this object. |
java.lang.String |
toXmlString()
Returns a String representing the DatabaseInfoDef in xml format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.util.ArrayList<NameValueInfo> information
| Constructor Detail |
|---|
public DatabaseInfoDef()
public DatabaseInfoDef(org.w3c.dom.Node node)
throws NameValueInfoException
node - The Xml node that representd the element.
NameValueInfoException - If the given node couldn't be parsed.
public DatabaseInfoDef(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 name is not 'Database' or child couldn't be added.public NameValueInfo[] getElements()
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 | |||||||||