net.sf.xmlmatcher.rex
Class AnyElementPosition

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

public final class AnyElementPosition
extends PositionImpl


Constructor Summary
AnyElementPosition(org.w3c.dom.Element element)
           
AnyElementPosition(org.w3c.dom.Element element, PositionsGraph exclusions)
           
 
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

AnyElementPosition

public AnyElementPosition(org.w3c.dom.Element element)

AnyElementPosition

public AnyElementPosition(org.w3c.dom.Element element,
                          PositionsGraph exclusions)
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.