ca.quine.jcommons.freemind.xml
Class Node

java.lang.Object
  |
  +--ca.quine.jcommons.freemind.xml.Node
All Implemented Interfaces:
Serializable

public class Node
extends Object
implements Serializable

Class Node.

Version:
$Revision: 1.3 $ $Date: 2007/12/22 14:03:35 $
See Also:
Serialized Form

Constructor Summary
Node()
           
 
Method Summary
 void addNodeItem(int index, NodeItem vNodeItem)
          Method addNodeItem
 void addNodeItem(NodeItem vNodeItem)
          Method addNodeItem
 void deleteCREATED()
          Method deleteCREATED
 void deleteHGAP()
          Method deleteHGAP
 void deleteMODIFIED()
          Method deleteMODIFIED
 void deleteVGAP()
          Method deleteVGAP
 void deleteVSHIFT()
          Method deleteVSHIFT
 Enumeration enumerateNodeItem()
          Method enumerateNodeItem
 String getBACKGROUND_COLOR()
          Returns the value of field 'BACKGROUND_COLOR'.
 String getCOLOR()
          Returns the value of field 'COLOR'.
 long getCREATED()
          Returns the value of field 'CREATED'.
 String getENCRYPTED_CONTENT()
          Returns the value of field 'ENCRYPTED_CONTENT'.
 NodeItemFOLDEDType getFOLDED()
          Returns the value of field 'FOLDED'.
 int getHGAP()
          Returns the value of field 'HGAP'.
 String getID()
          Returns the value of field 'ID'.
 String getLINK()
          Returns the value of field 'LINK'.
 Object getMark()
           
 long getMODIFIED()
          Returns the value of field 'MODIFIED'.
 NodeItem[] getNodeItem()
          Method getNodeItem
 NodeItem getNodeItem(int index)
          Method getNodeItem
 int getNodeItemCount()
          Method getNodeItemCount
 NodeItemPOSITIONType getPOSITION()
          Returns the value of field 'POSITION'.
 String getSTYLE()
          Returns the value of field 'STYLE'.
 String getTEXT()
          Returns the value of field 'TEXT'.
 int getVGAP()
          Returns the value of field 'VGAP'.
 int getVSHIFT()
          Returns the value of field 'VSHIFT'.
 boolean hasCREATED()
          Method hasCREATED
 boolean hasHGAP()
          Method hasHGAP
 boolean hasMODIFIED()
          Method hasMODIFIED
 boolean hasVGAP()
          Method hasVGAP
 boolean hasVSHIFT()
          Method hasVSHIFT
 boolean isValid()
          Method isValid
 Iterator iterateNodeItems()
           
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void removeAllNodeItem()
          Method removeAllNodeItem
 NodeItem removeNodeItem(int index)
          Method removeNodeItem
 void setBACKGROUND_COLOR(String BACKGROUND_COLOR)
          Sets the value of field 'BACKGROUND_COLOR'.
 void setCOLOR(String COLOR)
          Sets the value of field 'COLOR'.
 void setCREATED(long CREATED)
          Sets the value of field 'CREATED'.
 void setENCRYPTED_CONTENT(String ENCRYPTED_CONTENT)
          Sets the value of field 'ENCRYPTED_CONTENT'.
 void setFOLDED(NodeItemFOLDEDType FOLDED)
          Sets the value of field 'FOLDED'.
 void setHGAP(int HGAP)
          Sets the value of field 'HGAP'.
 void setID(String ID)
          Sets the value of field 'ID'.
 void setLINK(String LINK)
          Sets the value of field 'LINK'.
 void setMark(Object mark)
           
 void setMODIFIED(long MODIFIED)
          Sets the value of field 'MODIFIED'.
 void setNodeItem(int index, NodeItem vNodeItem)
          Method setNodeItem
 void setNodeItem(NodeItem[] nodeItemArray)
          Method setNodeItem
 void setPOSITION(NodeItemPOSITIONType POSITION)
          Sets the value of field 'POSITION'.
 void setSTYLE(String STYLE)
          Sets the value of field 'STYLE'.
 void setTEXT(String TEXT)
          Sets the value of field 'TEXT'.
 void setVGAP(int VGAP)
          Sets the value of field 'VGAP'.
 void setVSHIFT(int VSHIFT)
          Sets the value of field 'VSHIFT'.
static Node unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node()
Method Detail

addNodeItem

public void addNodeItem(NodeItem vNodeItem)
                 throws IndexOutOfBoundsException
Method addNodeItem

Parameters:
vNodeItem -
IndexOutOfBoundsException

addNodeItem

public void addNodeItem(int index,
                        NodeItem vNodeItem)
                 throws IndexOutOfBoundsException
Method addNodeItem

Parameters:
index -
vNodeItem -
IndexOutOfBoundsException

deleteCREATED

public void deleteCREATED()
Method deleteCREATED


deleteHGAP

public void deleteHGAP()
Method deleteHGAP


deleteMODIFIED

public void deleteMODIFIED()
Method deleteMODIFIED


deleteVGAP

public void deleteVGAP()
Method deleteVGAP


deleteVSHIFT

public void deleteVSHIFT()
Method deleteVSHIFT


enumerateNodeItem

public Enumeration enumerateNodeItem()
Method enumerateNodeItem

Returns:
Enumeration

iterateNodeItems

public Iterator iterateNodeItems()

getBACKGROUND_COLOR

public String getBACKGROUND_COLOR()
Returns the value of field 'BACKGROUND_COLOR'.

Returns:
String

getCOLOR

public String getCOLOR()
Returns the value of field 'COLOR'.

Returns:
String

getCREATED

public long getCREATED()
Returns the value of field 'CREATED'.

Returns:
long

getENCRYPTED_CONTENT

public String getENCRYPTED_CONTENT()
Returns the value of field 'ENCRYPTED_CONTENT'.

Returns:
String

getFOLDED

public NodeItemFOLDEDType getFOLDED()
Returns the value of field 'FOLDED'.

Returns:
NodeItemFOLDEDType

getHGAP

public int getHGAP()
Returns the value of field 'HGAP'.

Returns:
int

getID

public String getID()
Returns the value of field 'ID'.

Returns:
String

getLINK

public String getLINK()
Returns the value of field 'LINK'.

Returns:
String

getMODIFIED

public long getMODIFIED()
Returns the value of field 'MODIFIED'.

Returns:
long

getNodeItem

public NodeItem getNodeItem(int index)
                     throws IndexOutOfBoundsException
Method getNodeItem

Parameters:
index -
Returns:
NodeItem
IndexOutOfBoundsException

getNodeItem

public NodeItem[] getNodeItem()
Method getNodeItem

Returns:
NodeItem

getNodeItemCount

public int getNodeItemCount()
Method getNodeItemCount

Returns:
int

getPOSITION

public NodeItemPOSITIONType getPOSITION()
Returns the value of field 'POSITION'.

Returns:
NodeItemPOSITIONType

getSTYLE

public String getSTYLE()
Returns the value of field 'STYLE'.

Returns:
String

getTEXT

public String getTEXT()
Returns the value of field 'TEXT'.

Returns:
String

getVGAP

public int getVGAP()
Returns the value of field 'VGAP'.

Returns:
int

getVSHIFT

public int getVSHIFT()
Returns the value of field 'VSHIFT'.

Returns:
int

hasCREATED

public boolean hasCREATED()
Method hasCREATED

Returns:
boolean

hasHGAP

public boolean hasHGAP()
Method hasHGAP

Returns:
boolean

hasMODIFIED

public boolean hasMODIFIED()
Method hasMODIFIED

Returns:
boolean

hasVGAP

public boolean hasVGAP()
Method hasVGAP

Returns:
boolean

hasVSHIFT

public boolean hasVSHIFT()
Method hasVSHIFT

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
MarshalException
ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
IOException
MarshalException
ValidationException

removeAllNodeItem

public void removeAllNodeItem()
Method removeAllNodeItem


removeNodeItem

public NodeItem removeNodeItem(int index)
Method removeNodeItem

Parameters:
index -
Returns:
NodeItem

setBACKGROUND_COLOR

public void setBACKGROUND_COLOR(String BACKGROUND_COLOR)
Sets the value of field 'BACKGROUND_COLOR'.

Parameters:
BACKGROUND_COLOR - the value of field 'BACKGROUND_COLOR'

setCOLOR

public void setCOLOR(String COLOR)
Sets the value of field 'COLOR'.

Parameters:
COLOR - the value of field 'COLOR'.

setCREATED

public void setCREATED(long CREATED)
Sets the value of field 'CREATED'.

Parameters:
CREATED - the value of field 'CREATED'.

setENCRYPTED_CONTENT

public void setENCRYPTED_CONTENT(String ENCRYPTED_CONTENT)
Sets the value of field 'ENCRYPTED_CONTENT'.

Parameters:
ENCRYPTED_CONTENT - the value of field 'ENCRYPTED_CONTENT'.

setFOLDED

public void setFOLDED(NodeItemFOLDEDType FOLDED)
Sets the value of field 'FOLDED'.

Parameters:
FOLDED - the value of field 'FOLDED'.

setHGAP

public void setHGAP(int HGAP)
Sets the value of field 'HGAP'.

Parameters:
HGAP - the value of field 'HGAP'.

setID

public void setID(String ID)
Sets the value of field 'ID'.

Parameters:
ID - the value of field 'ID'.

setLINK

public void setLINK(String LINK)
Sets the value of field 'LINK'.

Parameters:
LINK - the value of field 'LINK'.

setMODIFIED

public void setMODIFIED(long MODIFIED)
Sets the value of field 'MODIFIED'.

Parameters:
MODIFIED - the value of field 'MODIFIED'.

setNodeItem

public void setNodeItem(int index,
                        NodeItem vNodeItem)
                 throws IndexOutOfBoundsException
Method setNodeItem

Parameters:
index -
vNodeItem -
IndexOutOfBoundsException

setNodeItem

public void setNodeItem(NodeItem[] nodeItemArray)
Method setNodeItem

Parameters:
nodeItemArray -

setPOSITION

public void setPOSITION(NodeItemPOSITIONType POSITION)
Sets the value of field 'POSITION'.

Parameters:
POSITION - the value of field 'POSITION'.

setSTYLE

public void setSTYLE(String STYLE)
Sets the value of field 'STYLE'.

Parameters:
STYLE - the value of field 'STYLE'.

setTEXT

public void setTEXT(String TEXT)
Sets the value of field 'TEXT'.

Parameters:
TEXT - the value of field 'TEXT'.

setVGAP

public void setVGAP(int VGAP)
Sets the value of field 'VGAP'.

Parameters:
VGAP - the value of field 'VGAP'.

setVSHIFT

public void setVSHIFT(int VSHIFT)
Sets the value of field 'VSHIFT'.

Parameters:
VSHIFT - the value of field 'VSHIFT'.

getMark

public Object getMark()

setMark

public void setMark(Object mark)

unmarshal

public static Node unmarshal(Reader reader)
                      throws MarshalException,
                             ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Node
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

ValidationException