public class XmlParser extends ParserBase
ParserBase.ILinkResolver, ParserBase.ValidationPolicycontext, errors, linkResolver, policy| Constructor and Description |
|---|
XmlParser(IWorkerContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
compose(Element e,
IXMLWriter xml) |
void |
compose(Element e,
OutputStream stream,
IParser.OutputStyle style,
String base) |
boolean |
isAllowXsiLocation() |
Element |
parse(Document doc) |
Element |
parse(Element element) |
Element |
parse(Element base,
String type) |
Element |
parse(InputStream stream) |
void |
setAllowXsiLocation(boolean allowXsiLocation) |
getDefinition, getDefinition, getLinkResolver, isPrimitive, logError, setLinkResolver, setupValidationpublic XmlParser(IWorkerContext context)
public boolean isAllowXsiLocation()
public void setAllowXsiLocation(boolean allowXsiLocation)
public Element parse(InputStream stream) throws FHIRFormatError, DefinitionException, FHIRException, IOException
parse in class ParserBaseFHIRFormatErrorDefinitionExceptionFHIRExceptionIOExceptionpublic Element parse(Document doc) throws FHIRFormatError, DefinitionException, FHIRException, IOException
public Element parse(Element element) throws FHIRFormatError, DefinitionException, FHIRException, IOException
public void compose(Element e, OutputStream stream, IParser.OutputStyle style, String base) throws IOException
compose in class ParserBaseIOExceptionpublic void compose(Element e, IXMLWriter xml) throws Exception
ExceptionCopyright © 2014–2017 University Health Network. All rights reserved.