dk.brics.xact
Class TemplateGap

java.lang.Object
  extended by dk.brics.xact.Node
      extended by dk.brics.xact.XML
          extended by dk.brics.xact.TempNode
              extended by dk.brics.xact.TemplateGap
All Implemented Interfaces:
ToXMLable

public class TemplateGap
extends TempNode

Template gap node.


Constructor Summary
TemplateGap(String gap)
          Constructs a new template gap node with no type.
TemplateGap(String gap, Origin origin)
          Constructs a new template gap node with no type.
TemplateGap(String gap, String type)
          Constructs a new template gap node.
TemplateGap(String gap, String type, Origin origin)
          Constructs a new template gap node.
TemplateGap(String gap, String type, XML nextsibling, Origin origin)
          Constructs a new template gap node.
 
Method Summary
 TemplateGap copy(XML nextsibling)
          Returns a copy of this node with the given next sibling.
 String getGap()
          Returns the gap name.
 String getType()
          Returns the gap type, or null if absent.
 String toString()
          Returns a description of this node.
(package private)  void visitAnyBy(AnyNodeVisitor v)
          Visits this node by the given any-node visitor.
(package private)  void visitNormalizedBy(NodeVisitor v)
          Visits this normalized node it by the given visitor.
(package private)
<R,A> R
visitNormalizedBy(NodeVisitorParameterized<R,A> v, A arg)
          Visits this normalized node it by the given visitor.
 
Methods inherited from class dk.brics.xact.TempNode
getNextSibling, getRealNextSibling
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateGap

public TemplateGap(String gap)
Constructs a new template gap node with no type.


TemplateGap

public TemplateGap(String gap,
                   Origin origin)
Constructs a new template gap node with no type.


TemplateGap

public TemplateGap(String gap,
                   String type)
Constructs a new template gap node.


TemplateGap

public TemplateGap(String gap,
                   String type,
                   Origin origin)
Constructs a new template gap node.


TemplateGap

public TemplateGap(String gap,
                   String type,
                   XML nextsibling,
                   Origin origin)
Constructs a new template gap node.

Method Detail

copy

public TemplateGap copy(XML nextsibling)
Description copied from class: TempNode
Returns a copy of this node with the given next sibling.

Specified by:
copy in class TempNode

getGap

public String getGap()
Returns the gap name.


getType

public String getType()
Returns the gap type, or null if absent.


toString

public String toString()
Description copied from class: Node
Returns a description of this node.

Specified by:
toString in class Node

visitAnyBy

void visitAnyBy(AnyNodeVisitor v)
Description copied from class: Node
Visits this node by the given any-node visitor.

Specified by:
visitAnyBy in class Node

visitNormalizedBy

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

Specified by:
visitNormalizedBy in class TempNode

visitNormalizedBy

<R,A> R visitNormalizedBy(NodeVisitorParameterized<R,A> v,
                          A arg)
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.