biz.c24.io.api.test
Enum SourceSinkType

java.lang.Object
  extended by java.lang.Enum<SourceSinkType>
      extended by biz.c24.io.api.test.SourceSinkType
All Implemented Interfaces:
Serializable, Comparable<SourceSinkType>

public enum SourceSinkType
extends Enum<SourceSinkType>


Enum Constant Summary
BINARY
           
DATABASE
           
FIX
           
HTML
           
INTERCHANGE
           
JAVA_CLASS
           
JSON
           
MARSHALLING_DISABLED
           
SPREADSHEET
           
SWIFT
           
TAG_VALUE_PAIR
           
TEXTUAL
           
XML
           
 
Method Summary
 Sink createSink(ClassLoader cl)
           
static Sink createSink(String name, ClassLoader cl)
           
 Source createSource(ClassLoader cl)
           
static Source createSource(String name, ClassLoader cl)
           
static List getEnumListSink()
           
static List getEnumListSink(boolean textOnly)
           
static List getEnumListSource()
           
static List getEnumListSource(boolean textOnly)
           
static SourceSinkType getFormatType(String name)
           
 String getName()
           
 boolean isSink()
           
 boolean isSource()
           
 String toString()
           
static SourceSinkType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SourceSinkType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TEXTUAL

public static final SourceSinkType TEXTUAL

XML

public static final SourceSinkType XML

BINARY

public static final SourceSinkType BINARY

SPREADSHEET

public static final SourceSinkType SPREADSHEET

HTML

public static final SourceSinkType HTML

DATABASE

public static final SourceSinkType DATABASE

JAVA_CLASS

public static final SourceSinkType JAVA_CLASS

INTERCHANGE

public static final SourceSinkType INTERCHANGE

TAG_VALUE_PAIR

public static final SourceSinkType TAG_VALUE_PAIR

JSON

public static final SourceSinkType JSON

SWIFT

public static final SourceSinkType SWIFT

FIX

public static final SourceSinkType FIX

MARSHALLING_DISABLED

public static final SourceSinkType MARSHALLING_DISABLED
Method Detail

values

public static SourceSinkType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SourceSinkType c : SourceSinkType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SourceSinkType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getFormatType

public static SourceSinkType getFormatType(String name)

createSource

public static Source createSource(String name,
                                  ClassLoader cl)

createSink

public static Sink createSink(String name,
                              ClassLoader cl)

getName

public String getName()

isSource

public boolean isSource()

isSink

public boolean isSink()

createSource

public Source createSource(ClassLoader cl)

createSink

public Sink createSink(ClassLoader cl)

toString

public String toString()
Overrides:
toString in class Enum<SourceSinkType>

getEnumListSource

public static List getEnumListSource()

getEnumListSource

public static List getEnumListSource(boolean textOnly)

getEnumListSink

public static List getEnumListSink()

getEnumListSink

public static List getEnumListSink(boolean textOnly)


C24 Technologies © 2002-2012: All Rights Reserved.