org.shapelogic.streamlogic
Class LoadLegacyLetterStreams

java.lang.Object
  extended by org.shapelogic.streamlogic.LoadLegacyLetterStreams

public class LoadLegacyLetterStreams
extends java.lang.Object

Create letter streams. Based on LetterTaskLegacyFactory.
Should create all the rules used for all straight letter matching.
Contains 2 sets of rules for letter matching
1: A simple set that only works for straight letters using simple properties
2: A more complex set of rules works for straight and curved letters
This uses annotations

Author:
Sami Badawi

Field Summary
static java.lang.String[] straightLettersArray
           
 
Constructor Summary
LoadLegacyLetterStreams(RecursiveContext recursiveContext)
           
 
Method Summary
 void loadStraightLetterStream(java.lang.String letterFilter)
          Setup all the stream for a straight letter match.
Requirements streams: polygons.
 void makeStraightLetterStream(java.lang.String letterFilter)
          Rules for matching straight letters, using only very simple properties.
 void makeStraightLetterXOrStream()
           
 void rule(java.lang.String letter, java.lang.String streamName, int value, java.lang.String letterFilter)
          Helper method to create one rule in one letter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

straightLettersArray

public static final java.lang.String[] straightLettersArray
Constructor Detail

LoadLegacyLetterStreams

public LoadLegacyLetterStreams(RecursiveContext recursiveContext)
Method Detail

rule

public void rule(java.lang.String letter,
                 java.lang.String streamName,
                 int value,
                 java.lang.String letterFilter)
Helper method to create one rule in one letter.

Parameters:
letter - to define rule for
streamName - what the required stream for this rule is called in RootMap
value - constraint value
letterFilter - if only one rule should be generated this should be set to a letter

makeStraightLetterXOrStream

public void makeStraightLetterXOrStream()

loadStraightLetterStream

public void loadStraightLetterStream(java.lang.String letterFilter)
Setup all the stream for a straight letter match.
Requirements streams: polygons.


makeStraightLetterStream

public void makeStraightLetterStream(java.lang.String letterFilter)
Rules for matching straight letters, using only very simple properties.

Parameters:
letterFilter -


Copyright © 2009. All Rights Reserved.