org.foray.ps.encode
Class GlyphListZapfDingbats

java.lang.Object
  extended by org.foray.ps.encode.GlyphList4a
      extended by org.foray.ps.encode.GlyphListZapfDingbats
All Implemented Interfaces:
Serializable, org.axsl.ps.GlyphList

public class GlyphListZapfDingbats
extends GlyphList4a

A hard-coded representation of the Zapg Dingbats glyph list, used for mapping glyph names to Unicode code points.

The hard-coded values in this class were derived by running GlyphListParser.main(String[]) with the following file for input: foray/foray-ps/resource/glyph-list/zapfdingbats.txt

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.axsl.ps.GlyphList
org.axsl.ps.GlyphList.Predefined
 
Field Summary
static long serialVersionUID
          Constant needed for serialization.
 
Constructor Summary
protected GlyphListZapfDingbats()
          Private Constructor.
 
Method Summary
static GlyphListZapfDingbats getInstance()
          Returns the singleton instance of this class.
 boolean isStatic()
          Indicates whether the data in this glyph list is static, that is, tied entirely to the class itself and not built dynamically.
 
Methods inherited from class org.foray.ps.encode.GlyphList4a
getGlyphList, getGlyphList, getName, mapCodePointToGlyphName, mapGlyphNameToCodePoint, standardSourceGlyphLists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Constant needed for serialization.

See Also:
Constant Field Values
Constructor Detail

GlyphListZapfDingbats

protected GlyphListZapfDingbats()
Private Constructor. This class is a singleton and should be instantiated only internally. To obtain the singleton instance of this class, use getInstance().

Method Detail

getInstance

public static GlyphListZapfDingbats getInstance()
Returns the singleton instance of this class.

Returns:
The singleton isntance of this class.

isStatic

public boolean isStatic()
Indicates whether the data in this glyph list is static, that is, tied entirely to the class itself and not built dynamically. This is used primarily to determine whether the instance should actually be serialized. Static subclasses should override this method.

Overrides:
isStatic in class GlyphList4a
Returns:
True iff all data in this glyph list is static and does not need to be serialized.


Copyright © 2017. All rights reserved.