dk.brics.xact
Class PlugSingleNode

java.lang.Object
  extended by dk.brics.xact.Node
      extended by dk.brics.xact.XML
          extended by dk.brics.xact.OperationNode
              extended by dk.brics.xact.PlugNode
                  extended by dk.brics.xact.PlugSingleNode
All Implemented Interfaces:
ToXMLable

 class PlugSingleNode
extends PlugNode

Plug single-value operation node.


Constructor Summary
PlugSingleNode(XML self, String gap, Object v)
          Constructs a new plug single-value operation node.
PlugSingleNode(XML self, String gap, Object v, Origin origin)
          Constructs a new plug single-value operation node.
 
Method Summary
 Object getValue()
          Returns the XML or string value to be plugged in.
 String toString()
          Returns a description of this node.
(package private)  void visitAnyBy(AnyNodeVisitor v)
          Visits this node by the given any-node visitor.
 
Methods inherited from class dk.brics.xact.PlugNode
getGap, getSelfNode
 
Methods inherited from class dk.brics.xact.OperationNode
asComment, asElement, asProcessingInstruction, asTemplate, asText, isComment, isElement, isProcessingInstruction, isTemplate, isText, visitNormalizedBy, visitNormalizedBy
 
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, getNextSibling, getNumber, getNumber, getRealNextSibling, 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, asNamespaceDecl, expanded, follow, follow, follow, follow, forward, getOrigin, isAttribute, isNamespaceDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlugSingleNode

public PlugSingleNode(XML self,
                      String gap,
                      Object v)
Constructs a new plug single-value operation node.


PlugSingleNode

public PlugSingleNode(XML self,
                      String gap,
                      Object v,
                      Origin origin)
Constructs a new plug single-value operation node.

Method Detail

getValue

public Object getValue()
Returns the XML or string value to be plugged in.


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


Copyright © 2005-2011 Aarhus University.