
Package ca.uhn.fhir.util
Interface IModelVisitor2
public interface IModelVisitor2
THIS API IS EXPERIMENTAL IN HAPI FHIR - USE WITH CAUTION AS THE PUBLISHED API MAY
CHANGE
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptElement(IBase theElement, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) default booleanacceptUndeclaredExtension(IBaseExtension<?, ?> theNextExt, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
acceptElement
boolean acceptElement(IBase theElement, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) - Parameters:
theElement- The element being visitedtheContainingElementPath- The elements in the path leading up to the actual element being accepted. The first element in this path will be the outer resource being visited, and the last element will be the saem object as the object passed astheElement
-
acceptUndeclaredExtension
@Deprecated(forRemoval=true, since="8.8.0") default boolean acceptUndeclaredExtension(IBaseExtension<?, ?> theNextExt, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) Deprecated, for removal: This API element is subject to removal in a future version.This method is called inconsistently byFhirTerserand should not be used. Any extensions present on the element being visited (including cases where an extension element is being visited directly) will result in call(s) toacceptElement(IBase, List, List, List).
-
FhirTerserand should not be used.