Package com.nwalsh.sinclude.schemes
Class SearchScheme
java.lang.Object
com.nwalsh.sinclude.schemes.AbstractTextScheme
com.nwalsh.sinclude.schemes.SearchScheme
- All Implemented Interfaces:
Scheme,TextScheme
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate Stringprivate static final intprivate static final intprivate static final Patternprivate static final Patternprivate static final Patternprivate intprivate intprivate Stringprivate booleanprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidmalformedSearch(String select, String msg) newInstance(String fdata) select(SchemeData[] schemeData, net.sf.saxon.s9api.XdmNode document) Methods inherited from class com.nwalsh.sinclude.schemes.AbstractTextScheme
getText, textResults
-
Field Details
-
rangeRE
-
lengthRE
-
leadingWhitespaceRE
-
INCLUDE_MATCH
private static final int INCLUDE_MATCH- See Also:
-
EXCLUDE_MATCH
private static final int EXCLUDE_MATCH- See Also:
-
TRIM
private static final int TRIM- See Also:
-
startSearch
-
startOpt
private int startOpt -
startCount
private int startCount -
endSearch
-
endOpt
private int endOpt -
endCount
private int endCount -
strip
private boolean strip -
checkLen
private int checkLen
-
-
Constructor Details
-
SearchScheme
public SearchScheme()
-
-
Method Details
-
newInstance
- Specified by:
newInstancein interfaceTextScheme
-
schemeName
- Specified by:
schemeNamein interfaceScheme
-
parseType
-
select
-
malformedSearch
-