dk.brics.xact.wrappers
Class AttrNodeWrapper<T extends AttrNode>

java.lang.Object
  extended by dk.brics.xact.wrappers.NodeWrapper<T>
      extended by dk.brics.xact.wrappers.AttrNodeWrapper<T>
Direct Known Subclasses:
AttributeGapWrapper, AttributeWrapper

public abstract class AttrNodeWrapper<T extends AttrNode>
extends NodeWrapper<T>

Wrapper for AttrNode.


Constructor Summary
AttrNodeWrapper(T real, ElementWrapper parent)
          Constructs a new wrapper.
 
Method Summary
 AttributeWrapper getNextAttribute()
          Returns the next attribute wrapper node.
 AttrNodeWrapper<? extends AttrNode> getNextAttrWrapper()
          Returns the next attribute-like wrapper node.
 AttrNode getRealNextAttr()
          Returns the next wrapped attribute-like node.
static AttrNodeWrapper<? extends AttrNode> make(AttrNode a, ElementWrapper parent)
          Makes a wrapper for the given attribute-like node.
 
Methods inherited from class dk.brics.xact.wrappers.NodeWrapper
getParent, getReal, setReal, visitBy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttrNodeWrapper

public AttrNodeWrapper(T real,
                       ElementWrapper parent)
Constructs a new wrapper.

Method Detail

getNextAttribute

public AttributeWrapper getNextAttribute()
Returns the next attribute wrapper node.


getNextAttrWrapper

public AttrNodeWrapper<? extends AttrNode> getNextAttrWrapper()
Returns the next attribute-like wrapper node.


getRealNextAttr

public AttrNode getRealNextAttr()
Returns the next wrapped attribute-like node.


make

public static AttrNodeWrapper<? extends AttrNode> make(AttrNode a,
                                                       ElementWrapper parent)
Makes a wrapper for the given attribute-like node.



Copyright © 2005-2011 Aarhus University.