public class RootParserContext extends BaseParserContext
| Constructor and Description |
|---|
RootParserContext(File inputFile,
Reader inputStream,
boolean referencedModel) |
RootParserContext(ModelSetParserContext modelSetParserContext,
URL url,
boolean referencedModel) |
RootParserContext(ModelSetParserContext modelSetParserContext,
URL baseUrl,
Reader inputStream,
boolean referencedModel) |
| Modifier and Type | Method and Description |
|---|---|
RootParserContext |
addReferencedModel(URI uri,
ParserContext context) |
void |
epilogue(String action) |
void |
error(String format,
Object... args) |
String |
getInputSource() |
String |
getInputSourceName() |
Model |
getModel() |
Model |
getModel(URI uri) |
Reader |
getReader() |
URL |
getUrl() |
boolean |
hasErrors() |
boolean |
isReferencedModel() |
void |
prologue() |
void |
raise(ParserError error) |
void |
raise(ParserInfo info) |
void |
raise(ParserWarning warning) |
void |
setModel(Model model) |
getAllProblems, getErrors, getInfos, getPath, getRootParserContext, getWarningspublic RootParserContext(ModelSetParserContext modelSetParserContext, URL url, boolean referencedModel) throws ParsingException
ParsingExceptionpublic RootParserContext(ModelSetParserContext modelSetParserContext, URL baseUrl, Reader inputStream, boolean referencedModel) throws ParsingException
ParsingExceptionpublic Model getModel()
public void setModel(Model model)
public boolean isReferencedModel()
public URL getUrl()
public Reader getReader()
public String getInputSource()
public String getInputSourceName()
public void raise(ParserError error)
raise in class BaseParserContextpublic void raise(ParserWarning warning)
raise in class BaseParserContextpublic void raise(ParserInfo info)
raise in class BaseParserContextpublic void epilogue(String action)
public void prologue()
@Nullable public RootParserContext addReferencedModel(URI uri, ParserContext context) throws ParsingException
ParsingExceptionpublic boolean hasErrors()
Copyright © 2018 Symphony Software Foundation. All rights reserved.