Package org.hl7.fhir.r4.elementmodel
Class XmlParser
java.lang.Object
org.hl7.fhir.r4.elementmodel.ParserBase
org.hl7.fhir.r4.elementmodel.XmlParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r4.elementmodel.ParserBase
ParserBase.ILinkResolver, ParserBase.ValidationPolicy -
Field Summary
Fields inherited from class org.hl7.fhir.r4.elementmodel.ParserBase
context, errors, linkResolver, policy, showDecorations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompose(Element e, OutputStream stream, IParser.OutputStyle style, String base) voidbooleanparse(InputStream stream) voidsetAllowXsiLocation(boolean allowXsiLocation) Methods inherited from class org.hl7.fhir.r4.elementmodel.ParserBase
getDefinition, getDefinition, getLinkResolver, isPrimitive, isShowDecorations, logError, setLinkResolver, setShowDecorations, setupValidation
-
Constructor Details
-
XmlParser
-
-
Method Details
-
isAllowXsiLocation
-
setAllowXsiLocation
-
parse
public Element parse(InputStream stream) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, org.hl7.fhir.exceptions.FHIRException, IOException - Specified by:
parsein classParserBase- Throws:
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionorg.hl7.fhir.exceptions.FHIRExceptionIOException
-
parse
public Element parse(Document doc) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionorg.hl7.fhir.exceptions.FHIRExceptionIOException
-
parse
public Element parse(Element element) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionorg.hl7.fhir.exceptions.FHIRExceptionIOException
-
parse
- Throws:
Exception
-
compose
public void compose(Element e, OutputStream stream, IParser.OutputStyle style, String base) throws IOException, org.hl7.fhir.exceptions.FHIRException - Specified by:
composein classParserBase- Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
compose
- Throws:
Exception
-