Package org.hl7.fhir.dstu3.elementmodel
Class XmlParser
java.lang.Object
org.hl7.fhir.dstu3.elementmodel.ParserBase
org.hl7.fhir.dstu3.elementmodel.XmlParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.dstu3.elementmodel.ParserBase
ParserBase.ILinkResolver, ParserBase.ValidationPolicy
-
Field Summary
Fields inherited from class org.hl7.fhir.dstu3.elementmodel.ParserBase
context, errors, linkResolver, policy
-
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.dstu3.elementmodel.ParserBase
getDefinition, getDefinition, getLinkResolver, isPrimitive, logError, setLinkResolver, 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 - Specified by:
compose
in classParserBase
- Throws:
IOException
-
compose
- Throws:
Exception
-