public abstract class AbsTag extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
tagString
The tag string for this tag.
|
Modifier | Constructor and Description |
---|---|
protected |
AbsTag(String tag)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
contains(String currentLine,
Locale locale)
Check to see if the string contains this tag.
|
abstract int |
getLastTagMatchLength()
Return the length of the last matched tag.
|
abstract boolean |
startsWith(String currentLine,
Locale locale)
Check to see if the string starts with this tag.
|
protected String tagString
protected AbsTag(String tag)
tag
- the tag string to be used for this tag.public abstract int contains(String currentLine, Locale locale)
currentLine
- the string for the current line being scanned.locale
- the Locale of the currentLine.public abstract boolean startsWith(String currentLine, Locale locale)
currentLine
- the string for the current line being scanned.locale
- the Locale of the currentLine.public abstract int getLastTagMatchLength()
Copyright © 2005–2022 MojoHaus. All rights reserved.