Class NoContentNode

  extended by dk.brics.xmlgraph.Node
      extended by dk.brics.xmlgraph.NoContentNode
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:

public abstract class NoContentNode
extends Node

Abstract superclass for nodes with no sub-nodes.

See Also:
Serialized Form

Field Summary
Fields inherited from class dk.brics.xmlgraph.Node
index, origin
Constructor Summary
NoContentNode(Origin origin)
          Constructor for node objects with no sub-nodes.
Method Summary
protected abstract  NoContentNode clone()
          Clones this node.
Methods inherited from class dk.brics.xmlgraph.Node
getIndex, getOrigin, process, setOrigin
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NoContentNode(Origin origin)
Constructor for node objects with no sub-nodes.

origin - source information (null if not applicable)
Method Detail


protected abstract NoContentNode clone()
Description copied from class: Node
Clones this node.

Specified by:
clone in class Node

Copyright © 2005-2010 Anders Møller.