public class CustomPropertyFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
CustomProperty |
createCustomProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Creates a custom property object.
|
InlineCustomProperty |
createInlineCustomProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Creates an inline custom property object.
|
static CustomPropertyFactory |
newInstance()
Returns the single instance of a CustomPropertyFactory.
|
public static final java.lang.String COPYRIGHT
public static CustomPropertyFactory newInstance()
public CustomProperty createCustomProperty(java.lang.String propertyName, java.lang.String propertyValue)
propertyName
- The name of the custom property.propertyValue
- The value of the custom property.public InlineCustomProperty createInlineCustomProperty(java.lang.String propertyName, java.lang.String propertyValue)
propertyName
- The name of the inline custom property.
The name must be one of the predefined names for inline custom properties - see
InlineCustomProperty.CUSTOM_TEXT_1 etc
.propertyValue
- The value of the custom property.