Package org.hl7.fhir.r5.elementmodel
Class XmlParser
java.lang.Object
org.hl7.fhir.r5.elementmodel.ParserBase
org.hl7.fhir.r5.elementmodel.XmlParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.elementmodel.ParserBase
ParserBase.ILinkResolver, ParserBase.NamedElement, ParserBase.ValidationPolicy -
Field Summary
Fields inherited from class org.hl7.fhir.r5.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) voidsetSchemaPath(String schemaPath) Methods inherited from class org.hl7.fhir.r5.elementmodel.ParserBase
getDefinition, getDefinition, getImpliedProfile, getLinkResolver, isPrimitive, isShowDecorations, logError, parseSingle, setLinkResolver, setShowDecorations, setupValidation
-
Constructor Details
-
XmlParser
-
-
Method Details
-
getSchemaPath
-
setSchemaPath
-
isAllowXsiLocation
-
setAllowXsiLocation
-
parse
public List<ParserBase.NamedElement> 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
-