Package org.apache.fop.fo.properties
Class StringProperty
java.lang.Object
org.apache.fop.fo.properties.Property
org.apache.fop.fo.properties.StringProperty
Exists primarily as a container for its Maker inner class, which is
extended by many string-based FO property classes.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Inner class for making instances of StringProperty -
Field Summary
Modifier and TypeFieldDescriptionstatic final StringProperty
canonical instance for empty strings -
Method Summary
Modifier and TypeMethodDescriptionboolean
static StringProperty
getInstance
(String str) Return the canonical StringProperty instance corresponding to the given string valueThis method expects to be overridden by subclassesThis method expects to be overridden by subclasses.int
hashCode()
Methods inherited from class org.apache.fop.fo.properties.Property
getCharacter, getColor, getCondLength, getEnum, getKeep, getLength, getLengthPair, getLengthRange, getList, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, isAuto, setSpecifiedValue, toString
-
Field Details
-
EMPTY_STRING_PROPERTY
canonical instance for empty strings
-
-
Method Details
-
getInstance
Return the canonical StringProperty instance corresponding to the given string value- Parameters:
str
- the base String- Returns:
- the canonical instance
-
getObject
Description copied from class:Property
This method expects to be overridden by subclasses -
getString
Description copied from class:Property
This method expects to be overridden by subclasses. -
equals
-
hashCode
public int hashCode()
-