com.japisoft.fastparser.walker
Class NodeNameCriteria

java.lang.Object
  |
  +--com.japisoft.fastparser.walker.NodeNameCriteria
All Implemented Interfaces:
ValidCriteria

public class NodeNameCriteria
extends java.lang.Object
implements ValidCriteria

Match tag with the good name

Version:
1.0
Author:
Alexandre Brillant (abrillant@wanadoo.fr)

Constructor Summary
NodeNameCriteria(java.lang.String name)
          Search for the good 'name'
 
Method Summary
 boolean isValid(SimpleNode node)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeNameCriteria

public NodeNameCriteria(java.lang.String name)
Search for the good 'name'

Method Detail

isValid

public boolean isValid(SimpleNode node)
Specified by:
isValid in interface ValidCriteria