public class ListToken extends LexicalUnit
Constructor and Description |
---|
ListToken(RdfTurtleReader contentHandler,
Context context)
Constructor with arguments.
|
Modifier and Type | Method and Description |
---|---|
List<LexicalUnit> |
getLexicalUnits() |
String |
getValue()
Returns the current value.
|
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.
|
getContentReader, getContext, setContext, setValue
public ListToken(RdfTurtleReader contentHandler, Context context) throws IOException
contentHandler
- The document's parent handler.context
- The parsing context.IOException
public List<LexicalUnit> getLexicalUnits()
public Object resolve()
LexicalUnit
resolve
in class LexicalUnit
public String getValue()
LexicalUnit
getValue
in class LexicalUnit
public void parse() throws IOException
LexicalUnit
parse
in class LexicalUnit
IOException
Copyright © 2005–2015. All rights reserved.