org.exist.dom
Class CommentImpl

java.lang.Object
  extended byorg.exist.dom.NodeImpl
      extended byorg.exist.dom.CharacterDataImpl
          extended byorg.exist.dom.CommentImpl
All Implemented Interfaces:
org.w3c.dom.CharacterData, org.w3c.dom.Comment, org.w3c.dom.Node

public class CommentImpl
extends CharacterDataImpl
implements org.w3c.dom.Comment

Version:
Author:
klaus

Field Summary
 
Fields inherited from class org.exist.dom.CharacterDataImpl
cdata
 
Fields inherited from class org.exist.dom.NodeImpl
attributes, gid, internalAddress, nodeName, nodeNameRef, nodeType, ownerDocument
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
CommentImpl(char[] data, int start, int howmany)
          Constructor for the CommentImpl object
CommentImpl(long gid)
          Constructor for the CommentImpl object
CommentImpl(long gid, java.lang.String data)
          Constructor for the CommentImpl object
CommentImpl(java.lang.String data)
          Constructor for the CommentImpl object
 
Method Summary
static NodeImpl deserialize(byte[] data, int start, int len)
          Description of the Method
 byte[] serialize()
          Description of the Method
 void toSAX(org.xml.sax.ContentHandler contentHandler, org.xml.sax.ext.LexicalHandler lexicalHandler, boolean first, java.util.ArrayList prefixes)
          Description of the Method
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class org.exist.dom.CharacterDataImpl
appendData, appendData, clear, deleteData, getData, getLength, getLowerCaseData, getNodeValue, getXMLString, insertData, replaceData, setData, setData, setData, substringData
 
Methods inherited from class org.exist.dom.NodeImpl
appendChild, appendChildren, cloneNode, deserialize, equals, firstChildID, getAttributes, getAttributesCount, getBroker, getChildCount, getChildNodes, getFirstChild, getGID, getInternalAddress, getLastChild, getLastNode, getLastNode, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeNameRef, getNodeType, getOwnerDocument, getParentGID, getParentNode, getPath, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertAfter, insertAfter, insertBefore, insertBefore, isSupported, lastChildID, normalize, removeChild, replaceChild, setAttributes, setChildCount, setGID, setInternalAddress, setNodeName, setNodeNameRef, setNodeValue, setOwnerDocument, setPrefix, supports, toSAX, toString, updateChild
 
Methods inherited from class java.lang.Object
clone, 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, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Constructor Detail

CommentImpl

public CommentImpl(long gid)
Constructor for the CommentImpl object

Parameters:
gid - Description of the Parameter

CommentImpl

public CommentImpl(long gid,
                   java.lang.String data)
Constructor for the CommentImpl object

Parameters:
gid - Description of the Parameter
data - Description of the Parameter

CommentImpl

public CommentImpl(java.lang.String data)
Constructor for the CommentImpl object

Parameters:
data - Description of the Parameter

CommentImpl

public CommentImpl(char[] data,
                   int start,
                   int howmany)
Constructor for the CommentImpl object

Parameters:
data - Description of the Parameter
start - Description of the Parameter
howmany - Description of the Parameter
Method Detail

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class CharacterDataImpl
Returns:
Description of the Return Value

toSAX

public void toSAX(org.xml.sax.ContentHandler contentHandler,
                  org.xml.sax.ext.LexicalHandler lexicalHandler,
                  boolean first,
                  java.util.ArrayList prefixes)
           throws org.xml.sax.SAXException
Description of the Method

Overrides:
toSAX in class CharacterDataImpl
Parameters:
contentHandler - Description of the Parameter
lexicalHandler - Description of the Parameter
first - Description of the Parameter
prefixes - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

serialize

public byte[] serialize()
Description of the Method

Overrides:
serialize in class NodeImpl
Returns:
Description of the Return Value

deserialize

public static NodeImpl deserialize(byte[] data,
                                   int start,
                                   int len)
Description of the Method

Parameters:
data - Description of the Parameter
Returns:
Description of the Return Value


Copyright (C) Wolfgang Meier. All rights reserved.