Package ca.uhn.hl7v2.model
Class MessageVisitors.PopulatedVisitor<T extends MessageVisitor>
java.lang.Object
ca.uhn.hl7v2.model.DelegatingMessageVisitor<T>
ca.uhn.hl7v2.model.MessageVisitors.PopulatedVisitor<T>
- All Implemented Interfaces:
MessageVisitor
- Enclosing class:
- MessageVisitors
public static final class MessageVisitors.PopulatedVisitor<T extends MessageVisitor>
extends DelegatingMessageVisitor<T>
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.DelegatingMessageVisitor
LOG -
Method Summary
Modifier and TypeMethodDescriptionbooleanLeaves a compositebooleanLeaves a group (or message)booleanLeaves a segmentfinal booleanEnters a compositebooleanEnters a group (or message)booleanEnters a segmentbooleanVisits a primitiveMethods inherited from class ca.uhn.hl7v2.model.DelegatingMessageVisitor
end, end, getDelegate, start, start
-
Method Details
-
start
Description copied from interface:MessageVisitorEnters a group (or message)- Specified by:
startin interfaceMessageVisitor- Overrides:
startin classDelegatingMessageVisitor<T extends MessageVisitor>- Parameters:
group- grouplocation- Location object describing the location within the message- Returns:
- true if the visitor shall descend into the nested structures
- Throws:
HL7Exception- if an error occurred while visiting
-
end
Description copied from interface:MessageVisitorLeaves a group (or message)- Specified by:
endin interfaceMessageVisitor- Overrides:
endin classDelegatingMessageVisitor<T extends MessageVisitor>- Parameters:
group- grouplocation- Location object describing the location within the message- Returns:
- true if the visitor shall continue visiting the parent structure
- Throws:
HL7Exception- if an error occurred while visiting
-
start
Description copied from interface:MessageVisitorEnters a segment- Specified by:
startin interfaceMessageVisitor- Overrides:
startin classDelegatingMessageVisitor<T extends MessageVisitor>- Parameters:
segment- segmentlocation- Location object describing the location within the message- Returns:
- true if the visitor shall descend into the nested structures
- Throws:
HL7Exception- if an error occurred while visiting
-
end
Description copied from interface:MessageVisitorLeaves a segment- Specified by:
endin interfaceMessageVisitor- Overrides:
endin classDelegatingMessageVisitor<T extends MessageVisitor>- Parameters:
segment- segmentlocation- Location object describing the location within the message- Returns:
- true if the visitor shall continue visiting the parent structure
- Throws:
HL7Exception- if an error occurred while visiting
-
start
Description copied from interface:MessageVisitorEnters a composite- Specified by:
startin interfaceMessageVisitor- Overrides:
startin classDelegatingMessageVisitor<T extends MessageVisitor>- Parameters:
type- compositelocation- Location object describing the location within the message- Returns:
- true if the visitor shall descend into the nested structures
- Throws:
HL7Exception- if an error occurred while visiting
-
end
Description copied from interface:MessageVisitorLeaves a composite- Specified by:
endin interfaceMessageVisitor- Overrides:
endin classDelegatingMessageVisitor<T extends MessageVisitor>- Parameters:
type- compositelocation- Location object describing the location within the message- Returns:
- true if the visitor shall continue visiting the parent structure
- Throws:
HL7Exception- if an error occurred while visiting
-
visit
Description copied from interface:MessageVisitorVisits a primitive- Specified by:
visitin interfaceMessageVisitor- Overrides:
visitin classDelegatingMessageVisitor<T extends MessageVisitor>- Parameters:
type- primitivelocation- Location object describing the location within the message- Returns:
- true if the visitor shall descend into the nested structures
- Throws:
HL7Exception- if an error occurred while visiting
-