net.sf.latexdraw.parsers.svg
Class SVGComment

java.lang.Object
  extended by net.sf.latexdraw.parsers.svg.SVGElement
      extended by net.sf.latexdraw.parsers.svg.SVGText
          extended by net.sf.latexdraw.parsers.svg.SVGComment
All Implemented Interfaces:
java.lang.Cloneable, org.w3c.dom.CharacterData, org.w3c.dom.Comment, org.w3c.dom.Element, org.w3c.dom.Node, org.w3c.dom.Text

public class SVGComment
extends SVGText
implements org.w3c.dom.Comment

Defines a comment node.

This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

10/31/07

Version:
3.0
Author:
Arnaud BLOUIN

Field Summary
 
Fields inherited from class net.sf.latexdraw.parsers.svg.SVGText
data, TEXT_NODE_NAME
 
Fields inherited from class net.sf.latexdraw.parsers.svg.SVGElement
attributes, children, name, ownerDocument, parent, stylesCSS, transform
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
SVGComment(java.lang.String comment, SVGDocument owner)
          Creates a comment element.
 
Method Summary
 java.lang.String getNodeName()
           
 short getNodeType()
           
 
Methods inherited from class net.sf.latexdraw.parsers.svg.SVGText
appendData, checkAttributes, deleteData, enableRendering, getData, getLength, getNodeValue, getWholeText, insertData, isElementContentWhitespace, replaceData, replaceWholeText, setData, splitText, substringData
 
Methods inherited from class net.sf.latexdraw.parsers.svg.SVGElement
appendChild, cloneNode, compareDocumentPosition, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildNodes, getChildren, getDef, getElementsByTagName, getElementsByTagNameNS, getFeature, getFill, getFirstChild, getFontFamily, getFontSize, getFontStyle, getFontWeight, getId, getLastChild, getLocalName, getNamespaceURI, getNbChildren, getNextSibling, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousSibling, getRootElement, getSchemaTypeInfo, getStroke, getStrokeDasharray, getStrokeLinecap, getStrokeLinejoin, getStrokeMiterlimit, getStrokeWidth, getStylesCSS, getSVGAttribute, getSVGRoot, getTagName, getTextContent, getTransform, getUsablePrefix, getUsablePrefix, getUserData, getWholeTransform, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, lookupPrefixUsable, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAttributes, setFill, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeName, setNodeValue, setOwnerDocument, setParent, setPrefix, setStroke, setStrokeDashArray, setStrokeDashOffset, setStrokeLineCap, setStrokeLineJoin, setStrokeMiterLevel, setStrokeWidth, setTextContent, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

SVGComment

public SVGComment(java.lang.String comment,
                  SVGDocument owner)
Creates a comment element.

Parameters:
comment - The text of the comment.
owner - The parent of the element.
Since:
0.1
Method Detail

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.dom.Node
Overrides:
getNodeType in class SVGText

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface org.w3c.dom.Node
Overrides:
getNodeName in class SVGElement