|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bibalex.daf.entities.phase.DatabaseDef
public class DatabaseDef
Represents the database section of a phase.
Field Summary | |
---|---|
java.util.ArrayList<DatabaseElement> |
elements
Holds the elements defined within this section |
Constructor Summary | |
---|---|
DatabaseDef()
Creates a new instance of DatabaseDef. |
|
DatabaseDef(org.w3c.dom.Node node)
Creates a new instance of DatabaseDef. |
|
DatabaseDef(java.lang.String nodeRep)
Creates a new instance of DatabaseDef. |
Method Summary | |
---|---|
private void |
createElementFromNode(org.w3c.dom.Node node)
Creates the DatabaseDef element by supplying its XmlNode represenation. |
DatabaseElement[] |
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 DatabaseDef 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<DatabaseElement> elements
Constructor Detail |
---|
public DatabaseDef()
public DatabaseDef(org.w3c.dom.Node node) throws PhaseDefinitionException
node
- The Xml node that representd the element.
PhaseDefinitionException
- If the given node couldn't be parsed.public DatabaseDef(java.lang.String nodeRep) throws PhaseDefinitionException
nodeRep
- The Xml String representing this element.
PhaseDefinitionException
- If the given String couldn't be parsed.Method Detail |
---|
private void createElementFromNode(org.w3c.dom.Node node) throws PhaseDefinitionException
node
- The Xml Node representing this element.
PhaseDefinitionException
- If the node name is not 'Database' or child couldn't be added.public DatabaseElement[] getElements()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXmlString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |