Package org.apache.fop.fo.properties
Class OptionalCharacterProperty
java.lang.Object
org.apache.fop.fo.properties.Property
org.apache.fop.fo.properties.OptionalCharacterProperty
Superclass for properties that wrap an optional 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
Modifier and TypeClassDescriptionstatic class
Inner class for creating instances of OptionalCharacterProperty -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
char
This method expects to be overridden by subclassesstatic OptionalCharacterProperty
getInstance
(Character character) Get character property instance for character.This 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
getColor, getCondLength, getEnum, getKeep, getLength, getLengthPair, getLengthRange, getList, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, isAuto, setSpecifiedValue, toString
-
Method Details
-
getInstance
Get character property instance for character.- Parameters:
character
- the character- Returns:
- the character property instance
-
getObject
Description copied from class:Property
This method expects to be overridden by subclasses -
getCharacter
public char getCharacter()Description copied from class:Property
This method expects to be overridden by subclasses- Overrides:
getCharacter
in classProperty
- Returns:
- this.character
-
getString
Description copied from class:Property
This method expects to be overridden by subclasses. -
equals
-
hashCode
public int hashCode()
-