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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
compose
(Element e, OutputStream stream, IParser.OutputStyle style, String base) void
boolean
parse
(InputStream stream) void
setAllowXsiLocation
(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:
parse
in classParserBase
- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.FHIRException
IOException
-
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.FHIRFormatError
org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.FHIRException
IOException
-
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.FHIRFormatError
org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.FHIRException
IOException
-
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:
compose
in classParserBase
- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
compose
- Throws:
Exception
-