com.prowidesoftware.swift.utils.BaseMessageVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-swift-core Show documentation
Show all versions of pw-swift-core Show documentation
Prowide Library for SWIFT messages
The newest version!
/*
* Copyright 2006-2023 Prowide
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.prowidesoftware.swift.utils;
import com.prowidesoftware.swift.model.*;
/**
* Base class for a IMessageVisitor. This class does nothing, implements all
* methods empty. All methods may be overwritten.
*
* @author sebastian
*/
// TODO: complete javadocs
public class BaseMessageVisitor implements IMessageVisitor {
@Override
public void startBlock1(SwiftBlock1 b) {}
@Override
public void startBlock2(SwiftBlock2 b) {}
@Override
public void startBlock3(SwiftBlock3 b) {}
@Override
public void startBlock4(SwiftBlock4 b) {}
@Override
public void startBlock5(SwiftBlock5 b) {}
@Override
public void startBlockUser(SwiftBlockUser b) {}
@Override
public void endBlock1(SwiftBlock1 b) {}
@Override
public void endBlock2(SwiftBlock2 b) {}
@Override
public void endBlock3(SwiftBlock3 b) {}
@Override
public void endBlock4(SwiftBlock4 b) {}
@Override
public void endBlock5(SwiftBlock5 b) {}
@Override
public void endBlockUser(SwiftBlockUser b) {}
@Override
public void tag(SwiftBlock3 b, Tag t) {}
@Override
public void tag(SwiftBlock4 b, Tag t) {}
@Override
public void tag(SwiftBlock5 b, Tag t) {}
@Override
public void tag(SwiftBlockUser b, Tag t) {}
@Override
public void value(SwiftBlock1 b, String v) {}
@Override
public void value(SwiftBlock2 b, String v) {}
@Override
public void endMessage(SwiftMessage m) {}
@Override
public void startMessage(SwiftMessage m) {}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy