StringParameterInit
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.ParameterInit
public abstract class StringParameterInit extends ParameterInit
Base class for all string parameter initializers.
Constructors
Constructor | Description |
---|---|
StringParameterInit(String name, String value) | Creates a new instance. |
Methods
Method | Description |
---|---|
getMinLength() | For string values, defines the shortest allowed string. |
getMaxLength() | For string values, defines the shortest longest string. |
StringParameterInit(String name, String value)
public StringParameterInit(String name, String value)
Creates a new instance.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | The parameter name. |
value | java.lang.String | The parameter value. |
getMinLength()
public int getMinLength()
For string values, defines the shortest allowed string.
Returns: int - The shortest allowed string.
getMaxLength()
public int getMaxLength()
For string values, defines the shortest longest string.
Returns: int - The longest allowed string.