public class SSE_ParserCore extends ParserSSEBase implements SSE_ParserCoreConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
SSE_ParserCoreTokenManager |
token_source
Generated Token Manager.
|
A2Z, A2ZN, AT, BLANK_NODE_LABEL, DATATYPE, DECIMAL, DEFAULT, DIGITS, DOUBLE, ECHAR, EOF, EXPONENT, INTEGER, IRIref, LANGTAG, LBRACE, LBRACKET, LPAREN, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_PREFIX, PNAME, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, RPAREN, SINGLE_LINE_COMMENT1, SINGLE_LINE_COMMENT2, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, SYM, SYM_ESC, SYM1, SYMBOL, tokenImage, UNKNOWN, VAR_NAMED, VAR_OTHER, VARNAME, WS
Constructor and Description |
---|
SSE_ParserCore(InputStream stream)
Constructor with InputStream.
|
SSE_ParserCore(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
SSE_ParserCore(Reader stream)
Constructor.
|
SSE_ParserCore(SSE_ParserCoreTokenManager tm)
Constructor with generated Token Manager.
|
Modifier and Type | Method and Description |
---|---|
void |
BareList() |
void |
BlankNode() |
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
void |
IRIref() |
void |
List() |
void |
Literal() |
void |
NumericLiteral() |
void |
parse() |
void |
PrefixedName() |
void |
RDFLiteral() |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
void |
ReInit(SSE_ParserCoreTokenManager tm)
Reinitialise.
|
void |
Symbol() |
void |
term() |
void |
Term() |
void |
TermOrList() |
void |
Var() |
setHandler, throwParseException
getPrologue, hex, setPrologue, stripChars, throwParseException, unescape, unescapePName, unescapeStr, unescapeStr
public SSE_ParserCoreTokenManager token_source
public Token token
public Token jj_nt
public SSE_ParserCore(InputStream stream)
public SSE_ParserCore(InputStream stream, String encoding)
public SSE_ParserCore(Reader stream)
public SSE_ParserCore(SSE_ParserCoreTokenManager tm)
public final void parse() throws ParseException
ParseException
public final void term() throws ParseException
ParseException
public final void TermOrList() throws ParseException
ParseException
public final void List() throws ParseException
ParseException
public final void BareList() throws ParseException
ParseException
public final void Term() throws ParseException
ParseException
public final void Symbol() throws ParseException
ParseException
public final void IRIref() throws ParseException
ParseException
public final void PrefixedName() throws ParseException
ParseException
public final void Var() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final void BlankNode() throws ParseException
ParseException
public final void RDFLiteral() throws ParseException
ParseException
public final void NumericLiteral() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(SSE_ParserCoreTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Licenced under the Apache License, Version 2.0