IPortionFactory

public interface IPortionFactory

Allows to create test portions


For COM comparibility

Methods

MethodDescription
createPortion()Creates an empty text portion.
createPortion(String str)Creates a text portion from specified string.
createPortion(IPortion portion)Creates a portion with the using of a specified portion data.

createPortion()

public abstract IPortion createPortion()

Creates an empty text portion.

Returns: IPortion - Portion.

createPortion(String str)

public abstract IPortion createPortion(String str)

Creates a text portion from specified string.

Parameters:

ParameterTypeDescription
strjava.lang.StringString.

Returns: IPortion - Portion.

createPortion(IPortion portion)

public abstract IPortion createPortion(IPortion portion)

Creates a portion with the using of a specified portion data.

Parameters:

ParameterTypeDescription
portionIPortionA portion to use.

Returns: IPortion - Portion.