public class Token extends LexicalUnit
| Constructor and Description |
|---|
Token(RdfTurtleReader contentHandler,
Context context)
Constructor with arguments.
|
Token(String value)
Constructor with value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
parse()
Contains the parsing logic of this lexical unit.
|
Object |
resolve()
Resolves the current value as a reference or a literal or a graph of
links according to the current context.
|
String |
toString() |
getContentReader, getContext, getValue, setContext, setValuepublic Token(RdfTurtleReader contentHandler, Context context) throws IOException
contentHandler - The document's parent handler.context - The parsing context.IOExceptionpublic Token(String value)
value - The value of the current lexical unit.public void parse()
throws IOException
LexicalUnitparse in class LexicalUnitIOExceptionpublic Object resolve()
LexicalUnitresolve in class LexicalUnitCopyright © 2005–2016. All rights reserved.