public interface IMessageVisitor
startMessagestartBlock1 -> value -> endBlock1 (if block 1 exists)startBlock2 -> value -> endBlock2 (if block 2 exists)startBlock3 -> tag (for every tag) -> endBlock3 (if block 3 exists)startBlock4 -> tag (for every tag) -> endBlock4 (if block 4 exists)startBlock5 -> tag (for every tag) -> endBlock5 (if block 5 exists)startBlockUser -> tag (for every tag) -> endBlockUser (for every user defined block and every tag of that block)endMessageNotice that the tag and value methods are overloaded for every type of SwiftBlock
derived class.
NOTE: this API has changed since 4.0 with SwiftBlocks 1-5 in each start/end method pairs.
| Modifier and Type | Method and Description |
|---|---|
void |
endBlock1(SwiftBlock1 b) |
void |
endBlock2(SwiftBlock2 b) |
void |
endBlock3(SwiftBlock3 b) |
void |
endBlock4(SwiftBlock4 b) |
void |
endBlock5(SwiftBlock5 b) |
void |
endBlockUser(SwiftBlockUser b) |
void |
endMessage(SwiftMessage m) |
void |
startBlock1(SwiftBlock1 b) |
void |
startBlock2(SwiftBlock2 b) |
void |
startBlock3(SwiftBlock3 b) |
void |
startBlock4(SwiftBlock4 b) |
void |
startBlock5(SwiftBlock5 b) |
void |
startBlockUser(SwiftBlockUser b) |
void |
startMessage(SwiftMessage m) |
void |
tag(SwiftBlock3 b,
Tag t) |
void |
tag(SwiftBlock4 b,
Tag t) |
void |
tag(SwiftBlock5 b,
Tag t) |
void |
tag(SwiftBlockUser b,
Tag t) |
void |
value(SwiftBlock1 b,
java.lang.String v) |
void |
value(SwiftBlock2 b,
java.lang.String v) |
void startBlock1(SwiftBlock1 b)
b - block to visitvoid startBlock2(SwiftBlock2 b)
b - block to visitvoid startBlock3(SwiftBlock3 b)
b - block to visitvoid startBlock4(SwiftBlock4 b)
b - block to visitvoid startBlock5(SwiftBlock5 b)
b - block to visitvoid startBlockUser(SwiftBlockUser b)
b - block to visitvoid endBlock1(SwiftBlock1 b)
b - block to visitvoid endBlock2(SwiftBlock2 b)
b - block to visitvoid endBlock3(SwiftBlock3 b)
b - block to visitvoid endBlock4(SwiftBlock4 b)
b - block to visitvoid endBlock5(SwiftBlock5 b)
b - block to visitvoid endBlockUser(SwiftBlockUser b)
b - block to visitvoid tag(SwiftBlock3 b, Tag t)
b - t - void tag(SwiftBlock4 b, Tag t)
b - t - void tag(SwiftBlock5 b, Tag t)
b - t - void tag(SwiftBlockUser b, Tag t)
b - t - void value(SwiftBlock1 b, java.lang.String v)
b - v - void value(SwiftBlock2 b, java.lang.String v)
b - v - void startMessage(SwiftMessage m)
m - void endMessage(SwiftMessage m)
m -