electric.xml.xpath
Class NameNode

java.lang.Object
  extended byelectric.xml.Node
      extended byelectric.xml.xpath.XPathNode
          extended byelectric.xml.xpath.NameNode
All Implemented Interfaces:
IDOMConstants, IXMLConstants, org.w3c.dom.Node, java.io.Serializable
Direct Known Subclasses:
AttributeNode, AttributePredicate, IndexPredicate, TextPredicate

public class NameNode
extends XPathNode

NameNode processes XPath "name" sub-expressions.

Author:
webMethods
See Also:
Serialized Form

Field Summary
protected  java.lang.String name
           
protected  java.lang.String prefix
           
 
Fields inherited from class electric.xml.Node
list, next, prev
 
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
 
Fields inherited from interface electric.xml.IXMLConstants
ATTLIST_START, ATTLIST_STOP, CDATA, CDATA_START, CDATA_STOP, CLOSE_TAG, COLON, COMMENT_START, COMMENT_STOP, DOCTYPE_START, DOCTYPE_STOP, ELEMENTDECL_START, ELEMENTDECL_STOP, ENCODING, ENTITYDECL_START, ENTITYDECL_STOP, ID, ID_CASE, INSTRUCTION_START, INSTRUCTION_STOP, NEGATIVE_INFINITY, NOT_A_NUMBER, NOTATIONDECL_START, NOTATIONDECL_STOP, NULL, OPEN_TAG, POSITIVE_INFINITY, PUBLIC, SPECIALS, STANDALONE, SUBSTITUTES, SYSTEM, UNDEFINED, VERSION, XML, XML_NAMESPACE, XMLDECL_START, XMLDECL_STOP, XMLNS, XMLNS_NAMESPACE
 
Fields inherited from interface electric.xml.IDOMConstants
CDATA_SECTION_NAME, COMMENT_NAME, CORE, DOCUMENT_FRAGMENT_NAME, DOCUMENT_NAME, HIERARCHY_REQUEST_ERR, TEXT_NAME
 
Constructor Summary
NameNode()
           
NameNode(java.lang.String name)
           
 
Method Summary
 void addNodes(TMEXPath xpath, Node node, NodeList list)
           
 java.lang.String getNamespace(TMEXPath xpath, Node node)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class electric.xml.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNextSiblingNode, getNode, getNode, getNodeName, getNodes, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getPreviousSiblingNode, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, read, remove, removeChild, replaceChild, setNextSiblingNode, setNodeValue, setPrefix, setPreviousSiblingNode, size, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefix

protected java.lang.String prefix

name

protected java.lang.String name
Constructor Detail

NameNode

public NameNode()

NameNode

public NameNode(java.lang.String name)
         throws XPathException
Parameters:
name -
Throws:
XPathException
Method Detail

setName

public void setName(java.lang.String name)
             throws XPathException
Parameters:
name -
Throws:
XPathException

getNamespace

public java.lang.String getNamespace(TMEXPath xpath,
                                     Node node)
                              throws XPathException
Parameters:
xpath -
node -
Throws:
XPathException

addNodes

public void addNodes(TMEXPath xpath,
                     Node node,
                     NodeList list)
              throws XPathException
Specified by:
addNodes in class XPathNode
Parameters:
xpath -
node -
list -
Throws:
XPathException


copyright© 2001-2004 by webMethods All Rights Reserved.