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 classInner class for making instances of StringProperty -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final PropertyCache<StringProperty> cache containing all canonical StringProperty instancesstatic final StringPropertycanonical instance for empty stringsprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StringPropertygetInstance(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.inthashCode()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:PropertyThis method expects to be overridden by subclasses -
getString
Description copied from class:PropertyThis method expects to be overridden by subclasses. -
equals
-
hashCode
public int hashCode()
-