Serialized Form


Package au.id.pbw.hyfo.hyph

Class au.id.pbw.hyfo.hyph.Alphabet extends Object implements Serializable

Serialized Fields

hyphen_codept

int hyphen_codept
The hyphen character for this alphabet.


uses_codepoints

boolean uses_codepoints
Does this alphabet use codepoints rather than characters?


minima

BreakMinima minima
The minimum number of characters allowed before and after hyphenation for this Alphabet.


min_before

byte min_before
The minimum number of character preceding a hyphen.


min_after

byte min_after
The mimimum number of character following a hyphen.


codept2char_class

Map<K,V> codept2char_class
Maps a codepoint to a character class code.


codept2char_class_array

int[] codept2char_class_array
If the character range is small enough, codept2char_class_array replaces the function of map codept2char_class.


min_codepoint

int min_codepoint
The minimum codepoint of any alphabet character.


max_codepoint

int max_codepoint
The maximum codepoint of any alphabet character.


char_class2canon

int[] char_class2canon
Maps a character class code to its canonical codepoint.


default_modifier

Modifier default_modifier
The default Modifier for this alphabet.


default_hyphen

HyphenBreak default_hyphen
A HyphenBreak with default values for this alphabet. It is used, for example, to represent hyphen positions mark with a '-' character in exception words.


neutral_hyphen

HyphenBreak neutral_hyphen
A HyphenBreak with neutral values. It is effectively a null hyphenation value used at non-hyphenating positions.

Class au.id.pbw.hyfo.hyph.BigTernaryTree extends Object implements Serializable

Serialized Fields

last_node_num

int last_node_num
The last_node_num points to the last used node slot. NOTE that node 0, and the corresponding values in the arrays codepoint parent, equal, less, greater and data_ptr are invalid.


codepoint

int[] codepoint

parent

int[] parent

equal

int[] equal

less

int[] less

greater

int[] greater

data_ptr

int[] data_ptr

initialized

boolean initialized

data_store

TernaryTreeDataStore data_store

Class au.id.pbw.hyfo.hyph.BreakMinima extends Object implements Serializable

Serialized Fields

before

byte before
The minimum number of characters allowed before hyphenation, not including the hyphen.


after

byte after
The minimum number of characters allowed afer hyphenation.

Class au.id.pbw.hyfo.hyph.HyphenationException extends Exception implements Serializable

Class au.id.pbw.hyfo.hyph.HyphenationTree extends Object implements Serializable

Serialized Fields

alphabet

Alphabet alphabet
The Alphabet for this tree.


exceptions

TernaryTree exceptions
The ternary tree of exceptions.


exception_data

HyphenDataCache exception_data

patterns

TernaryTree patterns
The ternary tree of hyphenation patterns.


pattern_data

HyphenDataCache pattern_data

char_classes_and_indices

int[][] char_classes_and_indices

char_classes

int[] char_classes

Class au.id.pbw.hyfo.hyph.HyphenBreak extends Object implements Serializable

Serialized Fields

nobreak

String nobreak
The text before line-breaking.


pre_brkpt

String pre_brkpt
The pre-break text of this HyphenBreak. When hyphenation changes the text being hyphenated, the no-break text is replaced by pre-break text HYPHEN new-line post-break text; in this replacement, the pre_brkpt text is replaced by the pre-break text.


post_brkpt

String post_brkpt
The post-break text of this HyphenBreak. When hyphenation changes the text being hyphenated, the no-break text is replaced by pre-break text HYPHEN new-line post-break text; in this replacement, the post_brkpt text is replaced by the post-break text.


replace_pre_brkpt

String replace_pre_brkpt
The replacement text preceding the hyphen position that replaces the HyphenBreak.pre_brkpt text.


replace_post_brkpt

String replace_post_brkpt
The replacement text following the hyphen position that replaces the HyphenBreak.post_brkpt text.


check_nobreak_text

boolean check_nobreak_text
Flags this HyphenBreak as one which may have a complex break with text replacement.


weight

byte weight
The weight of this HyphenBreak.


alphabet

Alphabet alphabet
The Alphabet applyin.g to this HyphenBreak.

Class au.id.pbw.hyfo.hyph.HyphenDataCache extends Object implements Serializable

Serialized Fields

last_item

int last_item

last_offset

int last_offset

tmp_item_lengths

byte[] tmp_item_lengths

tmp_data_offsets

int[] tmp_data_offsets

tmp_cache

HyphenBreak[] tmp_cache

item_lengths

byte[] item_lengths

data_offsets

int[] data_offsets

cache

HyphenBreak[] cache

tree

HyphenationTree tree

Class au.id.pbw.hyfo.hyph.HyphenInhibitor extends HyphenBreak implements Serializable

Class au.id.pbw.hyfo.hyph.HyphenMarker extends AttributedCharacterIterator.Attribute implements Serializable

Serialization Methods

readResolve

protected Object readResolve()
                      throws InvalidObjectException
Deserialises instance to the only valid constant.

Throws:
InvalidObjectException - if this object is not resolved to the single instance during deserialization.

Class au.id.pbw.hyfo.hyph.Modifier extends Object implements Serializable

Serialized Fields

nobreak

String nobreak
The text before line-breaking.


prebreak

String prebreak
The text preceding the line-break, after line-breaking.


postbreak

String postbreak
The text following the line-break, after line-breaking.


nobreak_pre

String nobreak_pre
The nobreak text preceding the breakpoint.


nobreak_post

String nobreak_post
The nobreak text following the breakpoint.


weight

byte weight
The weight associated with the modifier.


alphabet

Alphabet alphabet
The Alphabet associated with this Modifier.

Class au.id.pbw.hyfo.hyph.ShortTernaryTree extends Object implements Serializable

Serialized Fields

last_node_num

short last_node_num
The last_node_num points to the last used node slot. NOTE that node 0, and the corresponding values in the arrays codepoint parent, equal, less, greater and data_ptr are invalid.


codepoint

int[] codepoint

parent

short[] parent

equal

short[] equal

less

short[] less

greater

short[] greater

data_ptr

int[] data_ptr

size

int size

initialized

boolean initialized



Copyright © 2005-2006 Peter B. West.