Package org.apache.fop.fo.properties
Class CharacterProperty
- java.lang.Object
-
- org.apache.fop.fo.properties.Property
-
- org.apache.fop.fo.properties.CharacterProperty
-
public final class CharacterProperty extends Property
Superclass for properties that wrap a character value TODO convert character value to int in order to denote unicode scalar value instead of a single UTF-16 code element
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCharacterProperty.MakerInner class for creating instances of CharacterProperty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)chargetCharacter()This method expects to be overridden by subclassesstatic CharacterPropertygetInstance(char character)Get character property instance for character.java.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
getColor, getCondLength, getEnum, getKeep, getLength, getLengthPair, getLengthRange, getList, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, isAuto, setSpecifiedValue, toString
-
-
-
-
Method Detail
-
getInstance
public static CharacterProperty getInstance(char character)
Get character property instance for character.- Parameters:
character- the character- Returns:
- the character property instance
-
getObject
public java.lang.Object getObject()
Description copied from class:PropertyThis method expects to be overridden by subclasses
-
getCharacter
public char getCharacter()
Description copied from class:PropertyThis method expects to be overridden by subclasses- Overrides:
getCharacterin classProperty- Returns:
- this.character
-
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
-
-