Class DeletingVisitor<T extends Visitable>
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.DefaultVisitor
-
- org.linuxforhealth.fhir.model.visitor.CopyingVisitor<T>
-
- org.linuxforhealth.fhir.path.util.DeletingVisitor<T>
-
- All Implemented Interfaces:
Visitor
class DeletingVisitor<T extends Visitable> extends CopyingVisitor<T>
-
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.visitor.DefaultVisitor
visitChildren
-
-
Constructor Summary
Constructors Constructor Description DeletingVisitor(java.lang.String pathToDelete)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(java.lang.String elementName, byte[] value)
boolean
visit(java.lang.String elementName, int index, Visitable value)
Subclasses can override this method to provide a default action for all visit methods.void
visit(java.lang.String elementName, java.lang.Boolean value)
void
visit(java.lang.String elementName, java.lang.Integer value)
void
visit(java.lang.String elementName, java.lang.String value)
void
visit(java.lang.String elementName, java.math.BigDecimal value)
void
visit(java.lang.String elementName, java.time.LocalDate value)
void
visit(java.lang.String elementName, java.time.LocalTime value)
void
visit(java.lang.String elementName, java.time.Year value)
void
visit(java.lang.String elementName, java.time.YearMonth value)
void
visit(java.lang.String elementName, java.time.ZonedDateTime value)
-
Methods inherited from class org.linuxforhealth.fhir.model.visitor.CopyingVisitor
convertToCodeSubtype, delete, doVisitEnd, doVisitEnd, doVisitListEnd, doVisitListStart, doVisitStart, doVisitStart, getBuilder, getList, getPath, getResult, markDirty, markListDirty, postVisit, postVisit, replace, replace, reset, visitEnd, visitEnd, visitEnd, visitStart, visitStart, visitStart
-
Methods inherited from class org.linuxforhealth.fhir.model.visitor.DefaultVisitor
preVisit, preVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Method Detail
-
visit
public boolean visit(java.lang.String elementName, int index, Visitable value)
Description copied from class:DefaultVisitor
Subclasses can override this method to provide a default action for all visit methods.- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
- Returns:
- whether to visit the children of this resource; returns the value of the
visitChildren
boolean by default
-
visit
public void visit(java.lang.String elementName, byte[] value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
visit
public void visit(java.lang.String elementName, java.math.BigDecimal value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
visit
public void visit(java.lang.String elementName, java.lang.Boolean value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
visit
public void visit(java.lang.String elementName, java.lang.Integer value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
visit
public void visit(java.lang.String elementName, java.time.LocalDate value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
visit
public void visit(java.lang.String elementName, java.time.LocalTime value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
visit
public void visit(java.lang.String elementName, java.lang.String value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
visit
public void visit(java.lang.String elementName, java.time.Year value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
visit
public void visit(java.lang.String elementName, java.time.YearMonth value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
visit
public void visit(java.lang.String elementName, java.time.ZonedDateTime value)
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classDefaultVisitor
-
-