org.inria.ns.reflex.processor.asl
Class CapCandidate

java.lang.Object
  extended by org.inria.ns.reflex.processor.asl.CandidateNode
      extended by org.inria.ns.reflex.processor.asl.CapCandidate
All Implemented Interfaces:
CharacterData, Node, Text

public class CapCandidate
extends CandidateNode
implements Node, Text

A candidate material to cork node lists ends.

Author:
Philippe Poulard

Field Summary
 
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
CapCandidate()
           
CapCandidate(Node parent, Node next, Node previous)
           
 
Method Summary
 Node appendChild(Node node)
           
 void appendData(String arg)
           
 Node cloneNode(boolean param)
           
 void deleteData(int offset, int count)
           
 NamedNodeMap getAttributes()
           
 NodeList getChildNodes()
           
 String getData()
           
 Node getFirstChild()
           
 Node getLastChild()
           
 int getLength()
           
 String getLocalName()
           
 String getNamespaceURI()
           
 Node getNextSibling()
           
 String getNodeName()
           
 short getNodeType()
           
 String getNodeValue()
           
 Document getOwnerDocument()
           
 Node getParentNode()
           
 String getPrefix()
           
 Node getPreviousSibling()
           
 String getWholeText()
           
 boolean hasAttributes()
           
 boolean hasChildNodes()
           
 Node insertBefore(Node node, Node node1)
           
 void insertData(int offset, String arg)
           
 boolean isElementContentWhitespace()
           
 boolean isSupported(String str, String str1)
           
 void normalize()
           
 Node removeChild(Node node)
           
 Node replaceChild(Node node, Node node1)
           
 void replaceData(int offset, int count, String arg)
           
 Text replaceWholeText(String arg0)
           
 void setData(String data)
           
 void setNodeValue(String str)
           
 void setPrefix(String str)
           
 Text splitText(int offset)
           
 String substringData(int offset, int count)
           
 
Methods inherited from class org.inria.ns.reflex.processor.asl.CandidateNode
compareDocumentPosition, getBaseURI, getFeature, getTextContent, getUserData, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
compareDocumentPosition, getBaseURI, getFeature, getTextContent, getUserData, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData
 

Constructor Detail

CapCandidate

public CapCandidate()

CapCandidate

public CapCandidate(Node parent,
                    Node next,
                    Node previous)
Method Detail

appendChild

public Node appendChild(Node node)
                 throws DOMException
Specified by:
appendChild in interface Node
Throws:
DOMException

cloneNode

public Node cloneNode(boolean param)
Specified by:
cloneNode in interface Node

getAttributes

public NamedNodeMap getAttributes()
Specified by:
getAttributes in interface Node

getChildNodes

public NodeList getChildNodes()
Specified by:
getChildNodes in interface Node

getFirstChild

public Node getFirstChild()
Specified by:
getFirstChild in interface Node

getLastChild

public Node getLastChild()
Specified by:
getLastChild in interface Node

getLocalName

public String getLocalName()
Specified by:
getLocalName in interface Node

getNamespaceURI

public String getNamespaceURI()
Specified by:
getNamespaceURI in interface Node

getNextSibling

public Node getNextSibling()
Specified by:
getNextSibling in interface Node

getNodeName

public String getNodeName()
Specified by:
getNodeName in interface Node

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface Node

getNodeValue

public String getNodeValue()
                    throws DOMException
Specified by:
getNodeValue in interface Node
Throws:
DOMException

getOwnerDocument

public Document getOwnerDocument()
Specified by:
getOwnerDocument in interface Node

getParentNode

public Node getParentNode()
Specified by:
getParentNode in interface Node

getPrefix

public String getPrefix()
Specified by:
getPrefix in interface Node

getPreviousSibling

public Node getPreviousSibling()
Specified by:
getPreviousSibling in interface Node

hasAttributes

public boolean hasAttributes()
Specified by:
hasAttributes in interface Node

hasChildNodes

public boolean hasChildNodes()
Specified by:
hasChildNodes in interface Node

insertBefore

public Node insertBefore(Node node,
                         Node node1)
                  throws DOMException
Specified by:
insertBefore in interface Node
Throws:
DOMException

isSupported

public boolean isSupported(String str,
                           String str1)
Specified by:
isSupported in interface Node

normalize

public void normalize()
Specified by:
normalize in interface Node

removeChild

public Node removeChild(Node node)
                 throws DOMException
Specified by:
removeChild in interface Node
Throws:
DOMException

replaceChild

public Node replaceChild(Node node,
                         Node node1)
                  throws DOMException
Specified by:
replaceChild in interface Node
Throws:
DOMException

setNodeValue

public void setNodeValue(String str)
                  throws DOMException
Specified by:
setNodeValue in interface Node
Throws:
DOMException

setPrefix

public void setPrefix(String str)
               throws DOMException
Specified by:
setPrefix in interface Node
Throws:
DOMException

splitText

public Text splitText(int offset)
               throws DOMException
Specified by:
splitText in interface Text
Throws:
DOMException

appendData

public void appendData(String arg)
                throws DOMException
Specified by:
appendData in interface CharacterData
Throws:
DOMException

deleteData

public void deleteData(int offset,
                       int count)
                throws DOMException
Specified by:
deleteData in interface CharacterData
Throws:
DOMException

getData

public String getData()
               throws DOMException
Specified by:
getData in interface CharacterData
Throws:
DOMException

getLength

public int getLength()
Specified by:
getLength in interface CharacterData

insertData

public void insertData(int offset,
                       String arg)
                throws DOMException
Specified by:
insertData in interface CharacterData
Throws:
DOMException

replaceData

public void replaceData(int offset,
                        int count,
                        String arg)
                 throws DOMException
Specified by:
replaceData in interface CharacterData
Throws:
DOMException

setData

public void setData(String data)
             throws DOMException
Specified by:
setData in interface CharacterData
Throws:
DOMException

substringData

public String substringData(int offset,
                            int count)
                     throws DOMException
Specified by:
substringData in interface CharacterData
Throws:
DOMException

getWholeText

public String getWholeText()
Specified by:
getWholeText in interface Text

isElementContentWhitespace

public boolean isElementContentWhitespace()
Specified by:
isElementContentWhitespace in interface Text

replaceWholeText

public Text replaceWholeText(String arg0)
                      throws DOMException
Specified by:
replaceWholeText in interface Text
Throws:
DOMException