Package org.restlet.ext.rdf.internal.n3
Class FormulaToken
- java.lang.Object
-
- org.restlet.ext.rdf.internal.turtle.LexicalUnit
-
- org.restlet.ext.rdf.internal.n3.FormulaToken
-
public class FormulaToken extends LexicalUnit
Allows to parse a formula in RDF N3 notation. Please note that this kind of feature is not supported yet.
-
-
Constructor Summary
Constructors Constructor Description FormulaToken(RdfN3Reader contentHandler, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidparse()Contains the parsing logic of this lexical unit.java.lang.Objectresolve()Resolves the current value as a reference or a literal or a graph of links according to the current context.-
Methods inherited from class org.restlet.ext.rdf.internal.turtle.LexicalUnit
getContentReader, getContext, getValue, setContext, setValue
-
-
-
-
Constructor Detail
-
FormulaToken
public FormulaToken(RdfN3Reader contentHandler, Context context) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
parse
public void parse() throws java.io.IOExceptionDescription copied from class:LexicalUnitContains the parsing logic of this lexical unit.- Specified by:
parsein classLexicalUnit- Throws:
java.io.IOException
-
resolve
public java.lang.Object resolve()
Description copied from class:LexicalUnitResolves the current value as a reference or a literal or a graph of links according to the current context.- Specified by:
resolvein classLexicalUnit- Returns:
- The current value as a reference or a literal or a graph of links according to the current context.
-
-