Package org.apache.fop.fo.properties
Class StringProperty
- java.lang.Object
-
- org.apache.fop.fo.properties.Property
-
- org.apache.fop.fo.properties.StringProperty
-
public final class StringProperty extends Property
Exists primarily as a container for its Maker inner class, which is extended by many string-based FO property classes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringProperty.MakerInner class for making instances of StringProperty
-
Field Summary
Fields Modifier and Type Field Description static StringPropertyEMPTY_STRING_PROPERTYcanonical instance for empty strings
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static StringPropertygetInstance(java.lang.String str)Return the canonical StringProperty instance corresponding to the given string valuejava.lang.ObjectgetObject()This method expects to be overridden by subclassesjava.lang.StringgetString()This 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 Detail
-
EMPTY_STRING_PROPERTY
public static final StringProperty EMPTY_STRING_PROPERTY
canonical instance for empty strings
-
-
Method Detail
-
getInstance
public static StringProperty getInstance(java.lang.String str)
Return the canonical StringProperty instance corresponding to the given string value- Parameters:
str- the base String- Returns:
- the canonical instance
-
getObject
public java.lang.Object getObject()
Description copied from class:PropertyThis method expects to be overridden by subclasses
-
getString
public java.lang.String getString()
Description copied from class:PropertyThis method expects to be overridden by subclasses.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-