Class XmlParser
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.metamodel.ParserBase
-
- org.hl7.fhir.dstu2016may.metamodel.XmlParser
-
public class XmlParser extends ParserBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hl7.fhir.dstu2016may.metamodel.ParserBase
ParserBase.ValidationPolicy
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.dstu2016may.metamodel.ParserBase
context, errors, policy
-
-
Constructor Summary
Constructors Constructor Description XmlParser(IWorkerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompose(Element e, OutputStream stream, IParser.OutputStyle style, String base)Elementparse(InputStream stream)Elementparse(Document doc)Elementparse(Element element)Elementparse(Element base, String type)-
Methods inherited from class org.hl7.fhir.dstu2016may.metamodel.ParserBase
getChildProperties, getDefinition, getDefinition, isPrimitive, logError, setupValidation
-
-
-
-
Constructor Detail
-
XmlParser
public XmlParser(IWorkerContext context)
-
-
Method Detail
-
parse
public Element parse(InputStream stream) throws Exception
- Specified by:
parsein classParserBase- Throws:
Exception
-
compose
public void compose(Element e, OutputStream stream, IParser.OutputStyle style, String base) throws Exception
- Specified by:
composein classParserBase- Throws:
Exception
-
-