xpointer.litmatch
Class LE

java.lang.Object
  |
  +--xpointer.litmatch.LE

public class LE
extends java.lang.Object

This class represents a Literal Expression. It is a much simpler implementation of Regular Expressions, in fact strings are matched literally without special characters. It is useful for string-range() function because it matches string literally.


Constructor Summary
LE(java.lang.String match)
          Creates new LE
 
Method Summary
 LEMatch[] getAllMatches(java.lang.String input)
          Searches in the input string all the occurences which match literally this expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LE

public LE(java.lang.String match)
Creates new LE
Parameters:
match - the string to be matched
Method Detail

getAllMatches

public LEMatch[] getAllMatches(java.lang.String input)
Searches in the input string all the occurences which match literally this expression.
Parameters:
input - the string where matches are looked for
Returns:
an array of matches