org.apache.fop.hyphenation

Class Hyphenation


public class Hyphenation
extends java.lang.Object

This class represents a hyphenated word.
Author:
Carlos Villegas

Method Summary

int[]
getHyphenationPoints()
String
getPostHyphenText(int index)
String
getPreHyphenText(int index)
int
length()
String
toString()

Method Details

getHyphenationPoints

public int[] getHyphenationPoints()
Returns:
the hyphenation points

getPostHyphenText

public String getPostHyphenText(int index)
Returns:
the post-break text

getPreHyphenText

public String getPreHyphenText(int index)
Returns:
the pre-break text, not including the hyphen character

length

public int length()
Returns:
the number of hyphenation points in the word

toString

public String toString()

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.