dk.brics.xact
Class TempNode

java.lang.Object
  extended by dk.brics.xact.Node
      extended by dk.brics.xact.XML
          extended by dk.brics.xact.TempNode
All Implemented Interfaces:
ToXMLable
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

TempNode(XML nextsibling,
         Origin origin)
Method Detail

copy

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


getNextSibling

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

Overrides:
getNextSibling in class XML

getRealNextSibling

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

Overrides:
getRealNextSibling in class XML

visitNormalizedBy

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.