Class ReadingOrder
java.lang.Object
application.model.rules.misc.naive.ReadingOrder
- Direct Known Subclasses:
Orthogonal
public abstract class ReadingOrder
extends java.lang.Object
The base class for naive reading orders
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringspecifierThe specifier for the naive reading order -
Constructor Summary
Constructors Constructor Description ReadingOrder(java.lang.String specifier)Constructs a new naive reading order -
Method Summary
Modifier and Type Method Description abstract java.lang.Objectclone()Clones the naive reading orderabstract java.util.Comparator<Coordinate>getCoordinateComparator()Gets the coordinate comparatorabstract java.lang.String[]getRegex()Gets the regex that will identify the naive reading orderjava.lang.StringgetSpecifier()Gets the specifier for the naive reading orderabstract voidsetSpecifier(java.lang.String specifier)Sets the specifier for the naive reading order
-
Field Details
-
specifier
protected java.lang.String specifierThe specifier for the naive reading order
-
-
Constructor Details
-
ReadingOrder
public ReadingOrder(java.lang.String specifier)Constructs a new naive reading order- Parameters:
specifier- The specifier for the naive reading order
-
-
Method Details
-
setSpecifier
public abstract void setSpecifier(java.lang.String specifier)Sets the specifier for the naive reading order- Parameters:
specifier- The specifier of the naive reading order
-
getSpecifier
public java.lang.String getSpecifier()Gets the specifier for the naive reading order- Returns:
- Returns the specifier for the naive reading order
-
getRegex
public abstract java.lang.String[] getRegex()Gets the regex that will identify the naive reading order- Returns:
- Returns the regexes that match a naive reading order
-
getCoordinateComparator
Gets the coordinate comparator- Returns:
- Returns the coordinate comparator
-
clone
public abstract java.lang.Object clone()Clones the naive reading order- Overrides:
clonein classjava.lang.Object- Returns:
- Returns the cloned naive reading order
-