Package com.evolveum.axiom.lang.antlr
Class AxiomModelStatementSource
java.lang.Object
com.evolveum.axiom.lang.antlr.AxiomAntlrStatementSource
com.evolveum.axiom.lang.antlr.AxiomModelStatementSource
- All Implemented Interfaces:
- AxiomNameResolver
public class AxiomModelStatementSource
extends AxiomAntlrStatementSource
implements AxiomNameResolver
- 
Field SummaryFields inherited from interface com.evolveum.axiom.lang.spi.AxiomNameResolverAXIOM_DEFAULT_NAMESPACE, BUILTIN_TYPES, BUILTINS, NULL_RESOLVER
- 
Method SummaryModifier and TypeMethodDescriptionstatic AxiomModelStatementSourcestatic AxiomModelStatementSourcefrom(InputStream stream) static AxiomModelStatementSourcefrom(String sourceName, InputStream stream) static AxiomModelStatementSourcestatic AxiomModelStatementSourcefromResource(String resource) imports()resolveIdentifier(@Nullable String prefix, @NotNull String localName) voidstream(AxiomItemStream.TargetWithContext target, AntlrDecoderContext antlrDecoderContext) Methods inherited from class com.evolveum.axiom.lang.antlr.AxiomAntlrStatementSourcecontextFrom, root, sourceName, streamMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.axiom.lang.spi.AxiomNameResolveror, orPrefix, resolve
- 
Method Details- 
frompublic static AxiomModelStatementSource from(InputStream stream) throws IOException, AxiomSyntaxException - Throws:
- IOException
- AxiomSyntaxException
 
- 
frompublic static AxiomModelStatementSource from(String sourceName, InputStream stream) throws IOException, AxiomSyntaxException - Throws:
- IOException
- AxiomSyntaxException
 
- 
frompublic static AxiomModelStatementSource from(String sourceName, org.antlr.v4.runtime.CharStream stream) throws AxiomSyntaxException - Throws:
- AxiomSyntaxException
 
- 
modelName
- 
namespace
- 
imports
- 
imports
- 
resolveIdentifierpublic AxiomName resolveIdentifier(@Nullable @Nullable String prefix, @NotNull @NotNull String localName) - Specified by:
- resolveIdentifierin interface- AxiomNameResolver
 
- 
streampublic void stream(AxiomItemStream.TargetWithContext target, AntlrDecoderContext antlrDecoderContext) 
- 
fromResourcepublic static AxiomModelStatementSource fromResource(String resource) throws AxiomSyntaxException, IOException - Throws:
- AxiomSyntaxException
- IOException
 
- 
from- Throws:
- AxiomSyntaxException
- IOException
 
 
-