treebolic.generator.domtree.treebolic
Class LinkDecorator

java.lang.Object
  extended by treebolic.generator.domtree.DefaultDecorator
      extended by treebolic.generator.domtree.ElementDecorator
          extended by treebolic.generator.domtree.treebolic.LinkDecorator

public class LinkDecorator
extends ElementDecorator

Link node decorator

Author:
Bernard Bou

Field Summary
 
Fields inherited from class treebolic.generator.domtree.DefaultDecorator
theNode
 
Constructor Summary
LinkDecorator(org.w3c.dom.Node thisNode)
          Constructor
 
Method Summary
 java.lang.String getName()
          Get node name
 java.lang.String getValue()
          Get node data
 
Methods inherited from class treebolic.generator.domtree.ElementDecorator
getAttributes, getText
 
Methods inherited from class treebolic.generator.domtree.DefaultDecorator
childrenToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkDecorator

public LinkDecorator(org.w3c.dom.Node thisNode)
Constructor

Parameters:
thisNode - DOM node
Method Detail

getName

public java.lang.String getName()
Description copied from class: DefaultDecorator
Get node name

Overrides:
getName in class ElementDecorator
Returns:
node name

getValue

public java.lang.String getValue()
Description copied from class: DefaultDecorator
Get node data

Overrides:
getValue in class ElementDecorator
Returns:
node data