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, setValue
public Token(RdfTurtleReader contentHandler, Context context) throws IOException
contentHandler
- The document's parent handler.context
- The parsing context.IOException
public Token(String value)
value
- The value of the current lexical unit.public void parse() throws IOException
LexicalUnit
parse
in class LexicalUnit
IOException
public Object resolve()
LexicalUnit
resolve
in class LexicalUnit
Copyright © 2005–2013. All rights reserved.