org.japano.pagenode
Class Test.Match

java.lang.Object
  extended by org.japano.PageNode
      extended by org.japano.pagenode.Test.Match
Enclosing class:
Test

public static class Test.Match
extends PageNode

Defines the regular expression to match against.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.japano.PageNode
PageNode.Output
 
Field Summary
 
Fields inherited from class org.japano.PageNode
children, context, EMPTY, nodeId, parent
 
Constructor Summary
Test.Match()
           
 
Method Summary
 void generate(Buffer out)
          Generates this node The base implementation just calls PageNode.generateChildren(Buffer)
 PageNode setChildren(java.lang.Object[] child)
          Sets the children of this node.
 void setParent(PageNode parent)
          Sets the parent of this node.
 
Methods inherited from class org.japano.PageNode
findChildren, findParent, findRootNode, generateChildren, getChildren, getContext, getNodeId, getParent, init, recInit, release, setContext, setNodeId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test.Match

public Test.Match()
Method Detail

setParent

public void setParent(PageNode parent)
Description copied from class: PageNode
Sets the parent of this node.

Overrides:
setParent in class PageNode
Parameters:
parent - Parent node

setChildren

public PageNode setChildren(java.lang.Object[] child)
Description copied from class: PageNode
Sets the children of this node. The node children contained in the given Object array are initialized with this parent

Overrides:
setChildren in class PageNode
Parameters:
child - new children
Returns:
this node (convient for good page code readability)

generate

public void generate(Buffer out)
Description copied from class: PageNode
Generates this node The base implementation just calls PageNode.generateChildren(Buffer)

Overrides:
generate in class PageNode