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 TypeFieldDescriptionstatic final StringPropertycanonical instance for empty strings -
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
-
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: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()
-