net.sf.xmlmatcher.rex
Class TemplateElementPosition

java.lang.Object
  extended by net.sf.xmlmatcher.rex.PositionImpl
      extended by net.sf.xmlmatcher.rex.TemplateElementPosition
All Implemented Interfaces:
Position

public final class TemplateElementPosition
extends PositionImpl


Constructor Summary
TemplateElementPosition(org.w3c.dom.Element element)
           
 
Method Summary
 boolean match(org.w3c.dom.Element symbol, Matcher matcher)
          Used during input sequence matching phase.
 java.lang.String toString()
           
 
Methods inherited from class net.sf.xmlmatcher.rex.PositionImpl
addNext, getElement, getNextSiblings, isFinal, setFinal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateElementPosition

public TemplateElementPosition(org.w3c.dom.Element element)
Method Detail

match

public boolean match(org.w3c.dom.Element symbol,
                     Matcher matcher)
              throws InvalidTemplateException
Description copied from interface: Position
Used during input sequence matching phase.

Returns:
true if this position accepts given symbol
Throws:
InvalidTemplateException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007. All Rights Reserved.