Package | Description |
---|---|
de.susebox.jtopas | |
de.susebox.jtopas.impl | |
de.susebox.jtopas.spi |
Modifier and Type | Method and Description |
---|---|
TokenizerProperty |
TokenizerProperties.getBlockComment(java.lang.String start)
Get the full description of a block comment property starting with the given
prefix.
|
TokenizerProperty |
AbstractTokenizerProperties.getBlockComment(java.lang.String start)
Get the full description of a block comment property.
|
TokenizerProperty |
TokenizerProperties.getKeyword(java.lang.String keyword)
Get the full description of a keyword property.
|
TokenizerProperty |
AbstractTokenizerProperties.getKeyword(java.lang.String keyword)
Get the full description of a keyword property.
|
TokenizerProperty |
TokenizerProperties.getLineComment(java.lang.String lineComment)
Get the full description of a line comment property starting with the given
prefix.
|
TokenizerProperty |
AbstractTokenizerProperties.getLineComment(java.lang.String lineComment)
Get the full description of a line comment property.
|
TokenizerProperty |
TokenizerPropertyEvent.getOldProperty()
Retrieving the property that was set before the modification.
|
TokenizerProperty |
TokenizerProperties.getPattern(java.lang.String pattern)
Get the full description of a pattern property.
|
TokenizerProperty |
AbstractTokenizerProperties.getPattern(java.lang.String pattern)
Get the full description of a string property starting with the given
prefix.
|
TokenizerProperty |
TokenizerPropertyEvent.getProperty()
Retrieving the property this event is reporting.
|
TokenizerProperty |
TokenizerProperties.getSpecialSequence(java.lang.String specSeq)
Get the full description of a special sequence property.
|
TokenizerProperty |
AbstractTokenizerProperties.getSpecialSequence(java.lang.String specSeq)
Get the full description of a special sequence property.
|
TokenizerProperty |
TokenizerProperties.getString(java.lang.String start)
Get the full description of a string property starting with the given
prefix.
|
TokenizerProperty |
AbstractTokenizerProperties.getString(java.lang.String start)
Get the full description of a string property.
|
TokenizerProperty |
StandardTokenizerProperties.isKeyword(DataProvider dataProvider)
This method checks if the character range given through the
DataProvider comprises a keyword. |
TokenizerProperty |
StandardTokenizerProperties.startsWithSequenceCommentOrString(DataProvider dataProvider)
This method checks if a given range of data starts with a special sequence,
a comment or a string.
|
Modifier and Type | Method and Description |
---|---|
void |
TokenizerProperties.addProperty(TokenizerProperty property)
Registering a
TokenizerProperty . |
void |
AbstractTokenizerProperties.addProperty(TokenizerProperty property)
Registering a
TokenizerProperty . |
boolean |
TokenizerProperties.isFlagSet(TokenizerProperty prop,
int flag)
Checks if a given flag (see
Flags ) is set for the given TokenizerProperty
in the context of this TokenizerProperties instance. |
boolean |
AbstractTokenizerProperties.isFlagSet(TokenizerProperty prop,
int flag)
Checks if a given flag (see the constants in
Flags ) is set for the
given TokenizerProperty in the context of this TokenizerProperties
instance. |
boolean |
TokenizerProperties.propertyExists(TokenizerProperty property)
Checks if the given
TokenizerProperty is known to this TokenizerProperties
instance. |
boolean |
AbstractTokenizerProperties.propertyExists(TokenizerProperty property)
Checks if the given
TokenizerProperty is known. |
void |
TokenizerProperties.removeProperty(TokenizerProperty property)
Deregistering a
TokenizerProperty from the store. |
void |
AbstractTokenizerProperties.removeProperty(TokenizerProperty property)
Deregistering a
TokenizerProperty from the store. |
void |
TokenizerPropertyEvent.setOldProperty(TokenizerProperty property)
Setting the
TokenizerProperty that was changed. |
void |
TokenizerPropertyEvent.setProperty(TokenizerProperty property)
Setting the
TokenizerProperty the event is about. |
Constructor and Description |
---|
TokenizerPropertyEvent(int type,
TokenizerProperty property)
This constructor takes the type of the event and the
TokenizerProperty
that changed. |
TokenizerPropertyEvent(int type,
TokenizerProperty property,
TokenizerProperty oldProperty)
This constructor takes the type of the event and the
TokenizerProperty
that changed together with its old value. |
Modifier and Type | Method and Description |
---|---|
TokenizerProperty |
SequenceStore.addKeyword(TokenizerProperty property)
Addingt or replacing a keyword.
|
TokenizerProperty |
SequenceStore.addSpecialSequence(TokenizerProperty property)
Addingt or replacing a special sequence, comment or string.
|
TokenizerProperty |
SequenceStore.getKeyword(java.lang.String image)
Get the full description of a keyword property.
|
TokenizerProperty |
PatternMatcher.getProperty()
Retrieving the
TokenizerProperty of this PatternMatcher . |
TokenizerProperty |
SequenceStore.getSpecialSequence(java.lang.String image)
Get the full description of a special sequence property.
|
TokenizerProperty |
SequenceStore.isKeyword(DataProvider dataProvider)
This method checks if the given data form a keyword.
|
TokenizerProperty |
SequenceStore.removeKeyword(java.lang.String image)
Removing a special sequence from the store.
|
TokenizerProperty |
SequenceStore.removeSpecialSequence(java.lang.String image)
Removing a special sequence from the store.
|
TokenizerProperty |
SequenceStore.startsWithSequenceCommentOrString(DataProvider dataProvider)
This method checks if a given range of data starts with a special sequence,
a comment or a string.
|
Modifier and Type | Method and Description |
---|---|
TokenizerProperty |
SequenceStore.addKeyword(TokenizerProperty property)
Addingt or replacing a keyword.
|
TokenizerProperty |
SequenceStore.addSpecialSequence(TokenizerProperty property)
Addingt or replacing a special sequence, comment or string.
|
void |
PatternMatcher.setProperty(TokenizerProperty prop)
Setting the
TokenizerProperty for this PatternMatcher . |
Constructor and Description |
---|
PatternMatcher(TokenizerProperty prop,
int globalFlags)
The constructor takes a pattern and the
TokenizerProperty object
associated with this instance of PatternMatcher . |
Modifier and Type | Method and Description |
---|---|
TokenizerProperty |
PatternHandler.Result.getProperty()
Returns the
TokenizerProperty that describes the pattern that
matches data passed to PatternHandler.matches(de.susebox.jtopas.spi.DataProvider) . |
TokenizerProperty |
StandardKeywordHandler.isKeyword(DataProvider dataProvider)
This method checks if the character range given through the
DataProvider comprises a keyword. |
TokenizerProperty |
KeywordHandler.isKeyword(DataProvider dataProvider)
This method checks if the character range given through the
DataProvider comprises a keyword. |
TokenizerProperty |
StandardSequenceHandler.startsWithSequenceCommentOrString(DataProvider dataProvider)
This method checks if a given range of data starts with a special sequence,
a comment or a string.
|
TokenizerProperty |
SequenceHandler.startsWithSequenceCommentOrString(DataProvider dataProvider)
This method checks if a given range of data starts with a special sequence,
a comment or a string.
|