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
Nested ClassesModifier and TypeClassDescriptionstatic class
Inner class for making instances of StringProperty -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final PropertyCache<StringProperty>
cache containing all canonical StringProperty instancesstatic final StringProperty
canonical instance for empty stringsprivate final String
-
Constructor Summary
Constructors -
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
-
CACHE
cache containing all canonical StringProperty instances -
EMPTY_STRING_PROPERTY
canonical instance for empty strings -
str
-
-
Constructor Details
-
StringProperty
Constructor- Parameters:
str
- String value to place in this object
-
-
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()
-