|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoqube.muse.AbstractLexer
oqube.muse.FlowLexer
oqube.muse.IdentityLexer
public final class IdentityLexer
A flow lexer that matches anything.
| Field Summary | |
|---|---|
static IdentityLexer |
instance
This public instance may be used as a shortcut to terminate a list of lexers. |
| Fields inherited from class oqube.muse.FlowLexer |
|---|
text |
| Fields inherited from class oqube.muse.AbstractLexer |
|---|
matcher, next |
| Fields inherited from interface oqube.muse.MuseSink |
|---|
ROLE |
| Constructor Summary | |
|---|---|
IdentityLexer()
This lexer matches anything. |
|
| Method Summary | |
|---|---|
void |
handler()
This method is invoked by the lexer if this lexer matches the input. |
AbstractLexer |
setNext(AbstractLexer next)
Throws an exception. |
| Methods inherited from class oqube.muse.FlowLexer |
|---|
addMetadata, anchor, block, endBody, endCenter, endDocument, endEmph, endEnums, endFooter, endHeader, endItem, endList, endPara, endQuote, endStrong, endTable, endTableData, endTableHeader, endTableRow, endTitle1, endTitle2, endTitle3, endTitle4, endUline, endVerb, flow, format, getWrappedSink, link, rawText, separator, setLineWidth, setWrappedSink, startBody, startCenter, startDocument, startEmph, startEnums, startFooter, startHeader, startItem, startList, startPara, startQuote, startStrong, startTable, startTableData, startTableHeader, startTableRow, startTitle1, startTitle2, startTitle3, startTitle4, startUline, startVerb, text |
| Methods inherited from class oqube.muse.AbstractLexer |
|---|
getMatcher, getNext, parse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IdentityLexer instance
| Constructor Detail |
|---|
public IdentityLexer()
| Method Detail |
|---|
public void handler()
AbstractLexer
handler in class AbstractLexerpublic AbstractLexer setNext(AbstractLexer next)
setNext in class AbstractLexer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||