StampTypes

Inheritance: java.lang.Object

public class StampTypes

Stamp types container.

Constructors

Constructor Description
StampTypes()

Fields

Field Description
Round Round stamp type object.
Square Square stamp type object.

Methods

Method Description
getAllTypes() All stamp types.
parse(String parsingType) Returns stamp type with pasringType name.
tryParse(String parsingType) Returns stamp type with pasringType name.

StampTypes()

public StampTypes()

Round

public static final StampType Round

Round stamp type object.

Square

public static final StampType Square

Square stamp type object.

getAllTypes()

public static StampType[] getAllTypes()

All stamp types.

Returns: com.groupdocs.signature.domain.stamps.StampType[]

parse(String parsingType)

public static StampType parse(String parsingType)

Returns stamp type with pasringType name. When name of stamp is unknown - exception is thrown.

Parameters:

Parameter Type Description
parsingType java.lang.String Source string of stamp type name.

Returns: StampType - StampType instance.

tryParse(String parsingType)

public static StampType tryParse(String parsingType)

Returns stamp type with pasringType name. When name of stamp is unknown - no exception is thrown and method returns null value.

Parameters:

Parameter Type Description
parsingType java.lang.String Source string of stamp type name.

Returns: StampType - StampType instance.