org.merlotxml.merlot
Class MerlotDOMComment

java.lang.Object
  extended byorg.merlotxml.merlot.MerlotDOMNode
      extended byorg.merlotxml.merlot.MerlotDOMComment
All Implemented Interfaces:
java.lang.Cloneable, MerlotConstants, java.awt.datatransfer.Transferable

public class MerlotDOMComment
extends MerlotDOMNode


Field Summary
protected  org.w3c.dom.Comment _comment
           
protected  boolean _visible
           
 
Fields inherited from class org.merlotxml.merlot.MerlotDOMNode
_children, _clonedFrom, _dtdPluginConfig, _file, _listeners, _parent, _theNode, DOM_TREENODE_FLAVOR
 
Fields inherited from interface org.merlotxml.merlot.MerlotConstants
ACTION_MENU_ACCELERATOR, ACTION_MENU_ICON, ACTION_NAME, ACTION_SHORT_DESCRIPTION, ACTION_SMALL_ICON, AFTER, BEFORE, ERR, INTO, UI, XML
 
Constructor Summary
MerlotDOMComment(org.w3c.dom.Comment c, XMLFile doc)
           
 
Method Summary
 java.lang.Object clone()
          provides a deep copy
 java.lang.String getText()
           
 boolean isSpecialNode()
           
 boolean isVisible()
           
 void setText(java.lang.String s)
           
 void setVisible(boolean tf)
           
 
Methods inherited from class org.merlotxml.merlot.MerlotDOMNode
addMerlotNodeListener, appendChild, array2String, array2String, delete, equals, fireNodeChanged, fireNodeDeleted, fireNodeInserted, fireNodeRemoved, getAppendableElements, getAttributes, getAttributesOfType, getChildElements, getChildIndex, getChildNodes, getChildText, getClonedFrom, getDescriptiveText, getDescriptiveText, getDisplayText, getDocument, getDTDAttributes, getDTDDocument, getDTDPluginConfig, getEditor, getEditPanel, getFirstAttributeOfType, getFirstChild, getGrammarAttribute, getGrammarAttributes, getGrammarComplexType, getGrammarDocument, getIcon, getIdManager, getIndices, getInsertableElements, getInsertableElements, getMerlotDOMDocument, getMerlotNodeListeners, getNodeName, getNodes, getParentNode, getPreviousSibling, getPreviousSibling, getProperty, getRealNode, getSmallIcon, getTransferData, getTransferDataFlavors, getXMLFile, hashCode, importChild, importChild, importChildAfter, importChildBefore, insertAfter, insertBefore, insertChildAt, isAllowableChild, isAllowableChild, isAllowableChild, isDataFlavorSupported, isElement, isRootElement, isValid, locationIsValid, mayBeRemoved, newChild, newChild, newSiblingAfter, newSiblingAfter, newSiblingBefore, newSiblingBefore, printNode, printNode, removeAllMerlotDOMNodeListeners, removeAttributes, removeChild, removeMerlotNodeListener, resetCache, setAttributes, setClonedFrom, setDescriptiveText, setParentNode, setParentNode, toPathString, toString, toXMLShort
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_visible

protected boolean _visible

_comment

protected org.w3c.dom.Comment _comment
Constructor Detail

MerlotDOMComment

public MerlotDOMComment(org.w3c.dom.Comment c,
                        XMLFile doc)
Method Detail

setVisible

public void setVisible(boolean tf)

isVisible

public boolean isVisible()

getText

public java.lang.String getText()

setText

public void setText(java.lang.String s)

isSpecialNode

public boolean isSpecialNode()
Overrides:
isSpecialNode in class MerlotDOMNode

clone

public java.lang.Object clone()
Description copied from class: MerlotDOMNode
provides a deep copy

Overrides:
clone in class MerlotDOMNode