public class FINWriterVisitor extends java.lang.Object implements IMessageVisitor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SWIFT_EOL
EOL as defined by swift
|
| Constructor and Description |
|---|
FINWriterVisitor(java.io.Writer writer) |
| 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) |
protected java.lang.String |
getTagValue(Tag t,
int block)
Returns the tags value.
|
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(SwiftBlock 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) |
public static final java.lang.String SWIFT_EOL
public FINWriterVisitor(java.io.Writer writer)
writer - public void startMessage(SwiftMessage m)
startMessage in interface IMessageVisitorpublic void endMessage(SwiftMessage m)
endMessage in interface IMessageVisitorpublic void startBlock1(SwiftBlock1 b)
startBlock1 in interface IMessageVisitorb - block to visitpublic void value(SwiftBlock1 b, java.lang.String v)
value in interface IMessageVisitorpublic void endBlock1(SwiftBlock1 b)
endBlock1 in interface IMessageVisitorb - block to visitpublic void startBlock2(SwiftBlock2 b)
startBlock2 in interface IMessageVisitorb - block to visitpublic void value(SwiftBlock2 b, java.lang.String v)
value in interface IMessageVisitorpublic void endBlock2(SwiftBlock2 b)
endBlock2 in interface IMessageVisitorb - block to visitpublic void startBlock3(SwiftBlock3 b)
startBlock3 in interface IMessageVisitorb - block to visitpublic void tag(SwiftBlock3 b, Tag t)
tag in interface IMessageVisitorpublic void endBlock3(SwiftBlock3 b)
endBlock3 in interface IMessageVisitorb - block to visitpublic void startBlock4(SwiftBlock4 b)
startBlock4 in interface IMessageVisitorb - block to visitpublic void tag(SwiftBlock4 b, Tag t)
tag in interface IMessageVisitorpublic void endBlock4(SwiftBlock4 b)
endBlock4 in interface IMessageVisitorb - block to visitpublic void startBlock5(SwiftBlock5 b)
startBlock5 in interface IMessageVisitorb - block to visitpublic void tag(SwiftBlock5 b, Tag t)
tag in interface IMessageVisitorpublic void endBlock5(SwiftBlock5 b)
endBlock5 in interface IMessageVisitorb - block to visitpublic void startBlockUser(SwiftBlockUser b)
startBlockUser in interface IMessageVisitorb - block to visitpublic void tag(SwiftBlockUser b, Tag t)
tag in interface IMessageVisitorpublic void endBlockUser(SwiftBlockUser b)
endBlockUser in interface IMessageVisitorb - block to visitpublic void tag(SwiftBlock b, Tag t)
protected java.lang.String getTagValue(Tag t, int block)
t - block -