net.sourceforge.argval.version
Class SimpleVersionNumberVisitor

java.lang.Object
  extended by net.sourceforge.argval.version.SimpleVersionNumberVisitor
All Implemented Interfaces:
VersionNumberVisitor

public class SimpleVersionNumberVisitor
extends Object
implements VersionNumberVisitor

A text based implementation of the VersionNumberVisitor interface.

Use the getAsText() for retrieving the result.

Author:
T. Verhagen

Constructor Summary
SimpleVersionNumberVisitor()
           
SimpleVersionNumberVisitor(String separator)
           
SimpleVersionNumberVisitor(String separator, CollectionUtilConfig config)
           
 
Method Summary
 String getAsText()
           
 void visit(VersionNumber versionNumber)
          When the visitor visits a version number this method is called through the acceptor (the class that implements VersionNumberVisitorAcceptor).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleVersionNumberVisitor

public SimpleVersionNumberVisitor()

SimpleVersionNumberVisitor

public SimpleVersionNumberVisitor(String separator)

SimpleVersionNumberVisitor

public SimpleVersionNumberVisitor(String separator,
                                  CollectionUtilConfig config)
Method Detail

visit

public void visit(VersionNumber versionNumber)
Description copied from interface: VersionNumberVisitor
When the visitor visits a version number this method is called through the acceptor (the class that implements VersionNumberVisitorAcceptor).

Specified by:
visit in interface VersionNumberVisitor
Parameters:
versionNumber - - the version number which is visited.

getAsText

public String getAsText()


Copyright © 2013 Verhagen Software. All Rights Reserved.