Class FHIRPathStringAbstractFunction
- java.lang.Object
-
- org.linuxforhealth.fhir.path.function.FHIRPathAbstractFunction
-
- org.linuxforhealth.fhir.path.function.FHIRPathStringAbstractFunction
-
- All Implemented Interfaces:
FHIRPathFunction
- Direct Known Subclasses:
ContainsFunction
,EndsWithFunction
,LengthFunction
,MatchesFunction
,ReplaceFunction
,ReplaceMatchesFunction
,StartsWithFunction
,SubstringFunction
public abstract class FHIRPathStringAbstractFunction extends FHIRPathAbstractFunction
Abstract class which contains common apply logic for all abstract string manipulation functions
-
-
Constructor Summary
Constructors Constructor Description FHIRPathStringAbstractFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Collection<FHIRPathNode>
apply(FHIRPathEvaluator.EvaluationContext evaluationContext, java.util.Collection<FHIRPathNode> context, java.util.List<java.util.Collection<FHIRPathNode>> arguments)
protected abstract java.util.Collection<FHIRPathNode>
doApply(FHIRPathEvaluator.EvaluationContext evaluationContext, java.util.Collection<FHIRPathNode> context, java.util.List<java.util.Collection<FHIRPathNode>> arguments)
For function implementation add the logic here-
Methods inherited from class org.linuxforhealth.fhir.path.function.FHIRPathAbstractFunction
cacheFunctionResult, equals, generateIssue, getCachedFunctionResult, getMaxArity, getMinArity, getName, hasCachedFunctionResult, hashCode
-
-
-
-
Method Detail
-
apply
public java.util.Collection<FHIRPathNode> apply(FHIRPathEvaluator.EvaluationContext evaluationContext, java.util.Collection<FHIRPathNode> context, java.util.List<java.util.Collection<FHIRPathNode>> arguments)
- Specified by:
apply
in interfaceFHIRPathFunction
- Overrides:
apply
in classFHIRPathAbstractFunction
-
doApply
protected abstract java.util.Collection<FHIRPathNode> doApply(FHIRPathEvaluator.EvaluationContext evaluationContext, java.util.Collection<FHIRPathNode> context, java.util.List<java.util.Collection<FHIRPathNode>> arguments)
For function implementation add the logic here
-
-