IPortionFactory
public interface IPortionFactory
Allows to create test portions
For COM comparibility
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
str | java.lang.String | String. |
Returns: IPortion - Portion.
createPortion(IPortion portion)
public abstract IPortion createPortion(IPortion portion)
Creates a portion with the using of a specified portion data.
Parameters:
Parameter | Type | Description |
---|---|---|
portion | IPortion | A portion to use. |
Returns: IPortion - Portion.