/** * Creates a new FluentPath engine which can be used to exvaluate * path expressions over FHIR resources. Note that this engine will use the * {@link IContextValidationSupport context validation support} module which is * configured on the context at the time this method is called. * <p> * In other words, call {@link #setValidationSupport(IContextValidationSupport)} before * calling {@link #newFluentPath()} * </p> * <p> * Note that this feature was added for FHIR DSTU3 and is not available * for contexts configured to use an older version of FHIR. Calling this method * on a context for a previous version of fhir will result in an * {@link UnsupportedOperationException} * </p> * * @since 2.2 */ public IFluentPath newFluentPath() { return myVersion.createFluentPathExecutor(this); }
/** * Creates a new FluentPath engine which can be used to exvaluate * path expressions over FHIR resources. Note that this engine will use the * {@link IContextValidationSupport context validation support} module which is * configured on the context at the time this method is called. * <p> * In other words, call {@link #setValidationSupport(IContextValidationSupport)} before * calling {@link #newFluentPath()} * </p> * <p> * Note that this feature was added for FHIR DSTU3 and is not available * for contexts configured to use an older version of FHIR. Calling this method * on a context for a previous version of fhir will result in an * {@link UnsupportedOperationException} * </p> * * @since 2.2 */ public IFluentPath newFluentPath() { return myVersion.createFluentPathExecutor(this); }