FreeHEP API
Version v1.2

org.freehep.graphicsio.ps
Class PSTagHandler

java.lang.Object
  |
  +--org.freehep.graphics2d.TagHandler
        |
        +--org.freehep.graphicsio.ps.PSTagHandler

public class PSTagHandler
extends TagHandler

Version:
$Id: PSTagHandler.java,v 1.1 2002/07/30 19:11:28 duns Exp $
Author:
Charles Loomis

Constructor Summary
PSTagHandler(Font font)
           
 
Method Summary
protected  String closeTag(String tag)
          handles bold , italic , superscript , subscript
protected  String openTag(String tag)
          handles bold , italic , superscript , subscript
 String parse(TagString string)
          Must override the parse method because the PostScript string must be initialized and terminated.
protected  String text(String str)
          Must override to make this into a unicode string.
 
Methods inherited from class org.freehep.graphics2d.TagHandler
defaultEntity, entity, main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSTagHandler

public PSTagHandler(Font font)
Method Detail

parse

public String parse(TagString string)
Must override the parse method because the PostScript string must be initialized and terminated.

Overrides:
parse in class TagHandler

text

protected String text(String str)
Must override to make this into a unicode string.

Overrides:
text in class TagHandler

openTag

protected String openTag(String tag)
handles bold , italic , superscript , subscript

Overrides:
openTag in class TagHandler

closeTag

protected String closeTag(String tag)
handles bold , italic , superscript , subscript

Overrides:
closeTag in class TagHandler

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.