org.pentaho.reporting.libraries.fonts.text
Class GraphemeClusterProducer
java.lang.Object
org.pentaho.reporting.libraries.fonts.text.GraphemeClusterProducer
- All Implemented Interfaces:
- java.lang.Cloneable, ClassificationProducer
public class GraphemeClusterProducer
- extends java.lang.Object
- implements ClassificationProducer
Creation-Date: 11.06.2006, 17:02:27
- Author:
- Thomas Morgner
Method Summary |
java.lang.Object |
clone()
|
boolean |
createGraphemeCluster(int codePoint)
Returns an alternating counter for the grapheme clusters. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphemeClusterProducer
public GraphemeClusterProducer()
createGraphemeCluster
public boolean createGraphemeCluster(int codePoint)
- Returns an alternating counter for the grapheme clusters. The value
returned can be tested for equality; if two subsequent calls return
the same value, the characters of these calls belong to the same cluster.
- Parameters:
codePoint
-
- Returns:
- true, if a new cluster starts, false if the old cluster continues.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface ClassificationProducer
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException