|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bibalex.daf.entities.phase.PhaseDef
public class PhaseDef
Represents the complete phase definition with its pre-phase and post-phase specifications.
Field Summary | |
---|---|
SemiPhaseDef[] |
definition
An array of 2 elements of type SemiPhaseDef. |
java.lang.String |
name
The 'Name' property of the element. |
Constructor Summary | |
---|---|
PhaseDef(org.w3c.dom.Node node)
Creates a new instance of PhaseDef. |
|
PhaseDef(java.lang.String nodeRep)
Creates a new instance of PhaseDef. |
Method Summary | |
---|---|
private void |
createElementFromNode(org.w3c.dom.Node node)
Creates the PhaseDef element 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 PhaseDef 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 SemiPhaseDef[] definition
Constructor Detail |
---|
public PhaseDef(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 PhaseDef(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 'Phase' or children couldn't be created.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 |