public class DelegatingMessageVisitor<T extends MessageVisitor> extends Object implements MessageVisitor
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
DelegatingMessageVisitor(T delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
end(Composite type,
Location location)
Leaves a composite
|
boolean |
end(Field Field,
Location location)
Leaves a field.
|
boolean |
end(Group group,
Location location)
Leaves a group (or message)
|
boolean |
end(Message message)
Leaves a message
|
boolean |
end(Segment segment,
Location location)
Leaves a segment
|
T |
getDelegate() |
boolean |
start(Composite type,
Location location)
Enters a composite
|
boolean |
start(Field field,
Location location)
Enters a field.
|
boolean |
start(Group group,
Location location)
Enters a group (or message)
|
boolean |
start(Message message)
Enters a message
|
boolean |
start(Segment segment,
Location location)
Enters a segment
|
boolean |
visit(Primitive type,
Location location)
Visits a primitive
|
protected static final org.slf4j.Logger LOG
public DelegatingMessageVisitor(T delegate)
delegate - MessageVisitor to which all calls are delegated topublic T getDelegate()
public boolean start(Message message) throws HL7Exception
MessageVisitorstart in interface MessageVisitormessage - messageHL7Exception - if an error occurred while visitingpublic boolean end(Message message) throws HL7Exception
MessageVisitorend in interface MessageVisitormessage - messageHL7Exception - if an error occurred while visitingpublic boolean start(Group group, Location location) throws HL7Exception
MessageVisitorstart in interface MessageVisitorgroup - grouplocation - Location object describing the location within the messageHL7Exception - if an error occurred while visitingpublic boolean end(Group group, Location location) throws HL7Exception
MessageVisitorend in interface MessageVisitorgroup - grouplocation - Location object describing the location within the messageHL7Exception - if an error occurred while visitingpublic boolean start(Segment segment, Location location) throws HL7Exception
MessageVisitorstart in interface MessageVisitorsegment - segmentlocation - Location object describing the location within the messageHL7Exception - if an error occurred while visitingpublic boolean end(Segment segment, Location location) throws HL7Exception
MessageVisitorend in interface MessageVisitorsegment - segmentlocation - Location object describing the location within the messageHL7Exception - if an error occurred while visitingpublic boolean start(Field field, Location location) throws HL7Exception
MessageVisitorstart in interface MessageVisitorfield - fieldlocation - Location object describing the location within the messageHL7Exception - if an error occurred while visitingpublic boolean end(Field Field, Location location) throws HL7Exception
MessageVisitorend in interface MessageVisitorField - fieldlocation - Location object describing the location within the messageHL7Exception - if an error occurred while visitingpublic boolean start(Composite type, Location location) throws HL7Exception
MessageVisitorstart in interface MessageVisitortype - compositelocation - Location object describing the location within the messageHL7Exception - if an error occurred while visitingpublic boolean end(Composite type, Location location) throws HL7Exception
MessageVisitorend in interface MessageVisitortype - compositelocation - Location object describing the location within the messageHL7Exception - if an error occurred while visitingpublic boolean visit(Primitive type, Location location) throws HL7Exception
MessageVisitorvisit in interface MessageVisitortype - primitivelocation - Location object describing the location within the messageHL7Exception - if an error occurred while visitingCopyright © 2001–2017 University Health Network. All rights reserved.