
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.IdRenderingPolicy, ParserBase.ILinkResolver, ParserBase.ValidationPolicy -
Field Summary
Fields inherited from class org.hl7.fhir.r5.elementmodel.ParserBase
canonicalFilter, context, idPolicy, linkResolver, logical, policy, showDecorations, signatureServices -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompose(Element e, OutputStream stream, IParser.OutputStyle style, String base) voidbooleanbooleanparse(InputStream inStream) voidsetAllowXsiLocation(boolean allowXsiLocation) voidsetElideElements(boolean elideElements) voidsetSchemaPath(String schemaPath) Methods inherited from class org.hl7.fhir.r5.elementmodel.ParserBase
getContext, getContextUtilities, getDefinition, getDefinition, getIdPolicy, getImpliedProfile, getLinkResolver, getLogical, getPolicy, getProfileUtilities, getReferenceForElement, getSignatureServices, hasLogical, isPrimitive, isShowDecorations, logError, parseSingle, setCanonicalFilter, setIdPolicy, setLinkResolver, setLogical, setShowDecorations, setSignatureServices, setupValidation, urlTail, wantCompose
-
Constructor Details
-
XmlParser
-
-
Method Details
-
getSchemaPath
-
setSchemaPath
-
isAllowXsiLocation
-
setAllowXsiLocation
-
parse
public List<ValidatedFragment> parse(InputStream inStream) 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(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, 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(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, 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
public Element parse(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element base, String type) throws Exception - 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
-
isElideElements
-
setElideElements
-