Class TempNode

  extended by dk.brics.xact.Node
      extended by dk.brics.xact.XML
          extended by dk.brics.xact.TempNode
All Implemented Interfaces:
Direct Known Subclasses:
Comment, Element, ProcessingInstruction, TemplateGap, Text

public abstract class TempNode
extends XML

Base class for template nodes.

Constructor Summary
TempNode(XML nextsibling, Origin origin)
Method Summary
abstract  TempNode copy(XML nextsibling)
          Returns a copy of this node with the given next sibling.
 XML getNextSibling()
          Returns the next sibling node, or null if none.
(package private)  XML getRealNextSibling()
          Returns the next sibling, without normalizing.
(package private) abstract  void visitNormalizedBy(NodeVisitor v)
          Visits this normalized node it by the given visitor.
Methods inherited from class dk.brics.xact.XML
analyze, append, appendContent, appendContent, byteLength, close, concat, concat, concatXML, gapify, gapify, get, getAttribute, getAttribute, getElement, getElementByID, getElements, getFirstElement, getNamespaceMap, getNumber, getNumber, getString, getString, getStrings, getThreadNamespaceMap, has, insertAfter, insertBefore, loadXMLSchema, loadXMLSchema, normalize, parseDocument, parseDocument, parseDocument, parseDocument, parseTemplate, parseTemplate, parseTemplate, parseTemplate, parseTemplateResource, parseTemplateResource, plug, plugList, plugWrap, prepend, prependContent, prependContent, remove, set, set, set, set, setContent, setContent, toDocument, toDocument, toDocument, toDocument, toTemplate, toTemplate, toTemplate, toXML, toXML, validate, visitBy, visitBy
Methods inherited from class dk.brics.xact.Node
asAttribute, asComment, asElement, asNamespaceDecl, asProcessingInstruction, asTemplate, asText, expanded, follow, follow, follow, follow, forward, getOrigin, isAttribute, isComment, isElement, isNamespaceDecl, isProcessingInstruction, isTemplate, isText, toString, visitAnyBy, visitNormalizedBy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


TempNode(XML nextsibling,
         Origin origin)
Method Detail


public abstract TempNode copy(XML nextsibling)
Returns a copy of this node with the given next sibling.


public XML getNextSibling()
Description copied from class: XML
Returns the next sibling node, or null if none.

getNextSibling in class XML


XML getRealNextSibling()
Description copied from class: XML
Returns the next sibling, without normalizing. Overridden in subclasses that can have a next sibling.

getRealNextSibling in class XML


abstract void visitNormalizedBy(NodeVisitor v)
Description copied from class: Node
Visits this normalized node it by the given visitor.

Specified by:
visitNormalizedBy in class Node

Copyright © 2005-2011 Aarhus University.