Package no.hasmac.rdf.io.nquad
Class Tokenizer.Token
- java.lang.Object
-
- no.hasmac.rdf.io.nquad.Tokenizer.Token
-
- Enclosing class:
- Tokenizer
protected static class Tokenizer.Token extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static Tokenizer.TokenEOIprotected static Tokenizer.TokenEOLprotected static Tokenizer.TokenEOSprotected static Tokenizer.TokenLITERAL_DATA_TYPEprivate Tokenizer.TokenTypetypeprivate java.lang.Stringvalueprotected static Tokenizer.TokenWS
-
Constructor Summary
Constructors Modifier Constructor Description protectedToken(Tokenizer.TokenType type, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Tokenizer.TokenTypegetType()protected java.lang.StringgetValue()java.lang.StringtoString()
-
-
-
Field Detail
-
EOI
protected static final Tokenizer.Token EOI
-
EOS
protected static final Tokenizer.Token EOS
-
EOL
protected static final Tokenizer.Token EOL
-
WS
protected static final Tokenizer.Token WS
-
LITERAL_DATA_TYPE
protected static final Tokenizer.Token LITERAL_DATA_TYPE
-
type
private final Tokenizer.TokenType type
-
value
private final java.lang.String value
-
-
Constructor Detail
-
Token
protected Token(Tokenizer.TokenType type, java.lang.String value)
-
-
Method Detail
-
getType
protected Tokenizer.TokenType getType()
-
getValue
protected java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-