public class RDDParser extends java.lang.Object implements RDDParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
RDDParserTokenManager |
token_source
Generated Token Manager.
|
CLASS, CLASSES, COLON, COMMA, CWA, DEFAULT, DELIM, DOMAIN, EOF, IRIref, KEY, KW_BNODE, KW_IRI, KW_LITERAL, KW_RESOURCE, LBRACK, LLBRACK, MAX, MIN, ML_COMMENT_STATE, OWA, PARTIAL, PATH, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_PREFIX, PNAME_LN, PNAME_NS, POSINT, PREFIX, PROPERTIES, RANGE, RBRACK, RRBRACK, SINGLETON, SLASH, SUBCLASS, SUBPROPERTY, tokenImage, TOTAL
Constructor and Description |
---|
RDDParser(java.io.InputStream stream)
Constructor with InputStream.
|
RDDParser(java.io.InputStream stream,
java.lang.String encoding)
Constructor with InputStream and supplied encoding
|
RDDParser(RDDParserTokenManager tm)
Constructor with generated Token Manager.
|
RDDParser(java.io.Reader stream)
Constructor.
|
public RDDParserTokenManager token_source
public Token token
public Token jj_nt
public RDDParser(java.io.InputStream stream)
public RDDParser(java.io.InputStream stream, java.lang.String encoding)
public RDDParser(java.io.Reader stream)
public RDDParser(RDDParserTokenManager tm)
public static void main(java.lang.String[] args) throws ParseException
ParseException
public final RDD rdd() throws ParseException
ParseException
public final PrefixSec prefixSec() throws ParseException
ParseException
public final PrefixDecl prefixDecl() throws ParseException
ParseException
public final ClassConstraintSec classConstraintSec() throws ParseException
ParseException
public final ClassConstraint classConstraint() throws ParseException
ParseException
public final PropConstraintSec propConstraintSec() throws ParseException
ParseException
public final org.apache.commons.lang3.tuple.Pair<java.util.List<PropConstraint>,java.util.List<Key>> propAndKeyConstraintList() throws ParseException
ParseException
public final java.util.List<PropConstraint> propConstraintList() throws ParseException
ParseException
public final java.util.List<PropConstraint> propConstraint() throws ParseException
ParseException
public final Key key() throws ParseException
ParseException
public final java.util.List<PropConstraint> constraintList() throws ParseException
ParseException
public final PropConstraint constraint() throws ParseException
ParseException
public final WA wa() throws ParseException
ParseException
public final TotalityConstraint totalityConstraint() throws ParseException
ParseException
public final PartialityConstraint partialityConstraint() throws ParseException
ParseException
public final MinConstraint minConstraint() throws ParseException
ParseException
public final MaxConstraint maxConstraint() throws ParseException
ParseException
public final DomainConstraint domainConstraint() throws ParseException
ParseException
public final RangeConstraint rangeConstraint() throws ParseException
ParseException
public final PathConstraint pathConstraint() throws ParseException
ParseException
public final SubPropertyConstraint subPropertyConstraint() throws ParseException
ParseException
public final IRI IRIref() throws ParseException
ParseException
public final IRIWithRangeType IRIWithRangeType() throws ParseException
ParseException
public final RangeType rangeType() throws ParseException
ParseException
public final IRI PrefixedName() throws ParseException
ParseException
public final IRI IRI_REF() throws ParseException
ParseException
public final java.util.List<IRI> IRIrefList() throws ParseException
ParseException
public final java.util.List<IRI> IRIrefSeq() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream, java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(RDDParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()