Package com.evolveum.axiom.lang.antlr
Class AxiomAntlrStatementSource
- java.lang.Object
-
- com.evolveum.axiom.lang.antlr.AxiomAntlrStatementSource
-
- Direct Known Subclasses:
AxiomModelStatementSource
public class AxiomAntlrStatementSource extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AxiomAntlrStatementSource(String sourceName, AxiomParser.ItemContext statement)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AxiomParser.ItemContext
contextFrom(String sourceName, org.antlr.v4.runtime.CharStream stream)
static AxiomAntlrStatementSource
from(String sourceName, InputStream stream)
static AxiomAntlrStatementSource
from(String sourceName, org.antlr.v4.runtime.CharStream stream)
protected AxiomParser.ItemContext
root()
String
sourceName()
void
stream(AxiomItemStream.TargetWithContext target, AxiomDecoderContext<AxiomParser.PrefixedNameContext,AxiomParser.ArgumentContext> codecs, AxiomNameResolver documentLocal)
-
-
-
Constructor Detail
-
AxiomAntlrStatementSource
protected AxiomAntlrStatementSource(String sourceName, AxiomParser.ItemContext statement)
-
-
Method Detail
-
from
public static AxiomAntlrStatementSource from(String sourceName, InputStream stream) throws IOException, AxiomSyntaxException
- Throws:
IOException
AxiomSyntaxException
-
contextFrom
public static AxiomParser.ItemContext contextFrom(String sourceName, org.antlr.v4.runtime.CharStream stream)
-
from
public static AxiomAntlrStatementSource from(String sourceName, org.antlr.v4.runtime.CharStream stream) throws AxiomSyntaxException
- Throws:
AxiomSyntaxException
-
sourceName
public String sourceName()
-
root
protected final AxiomParser.ItemContext root()
-
stream
public final void stream(AxiomItemStream.TargetWithContext target, AxiomDecoderContext<AxiomParser.PrefixedNameContext,AxiomParser.ArgumentContext> codecs, AxiomNameResolver documentLocal)
-
-