mascoptLib.abstractGraph
Interface MascoptWritableInterface

All Known Implementing Classes:
MascoptObject

public interface MascoptWritableInterface

The interface controling the ability to write objects in XML.

Author:
Jean-Francois Lalande (Jean-Francois.Lalande@sophia.inria.fr)

Method Summary
 String getDOMTagHierarchy()
          Returns the XML hierarchy tag names.
 String getDOMTagName()
          Returns the XML tag name for this object.
 Element toDOMTree(Element element)
          The method writes the current object in the DOMTree.
 void toDOMTreeAsRef(Element element)
          The method which writes the current object as a reference in the DOMTree.
 

Method Detail

toDOMTree

public Element toDOMTree(Element element)
The method writes the current object in the DOMTree.

Parameters:
element - the current node of DOM document.
Returns:
the node created.

toDOMTreeAsRef

public void toDOMTreeAsRef(Element element)
The method which writes the current object as a reference in the DOMTree.

Parameters:
element - the current node of DOM document.

getDOMTagHierarchy

public String getDOMTagHierarchy()
Returns the XML hierarchy tag names.

Returns:
a string TAG1/TAG2/TAG3/TAG4...

getDOMTagName

public String getDOMTagName()
Returns the XML tag name for this object.

Returns:
a string TAG