org.freehep.graphicsio.svg
Class SVGTagHandler
java.lang.Object
org.freehep.graphics2d.TagHandler
org.freehep.graphicsio.svg.SVGTagHandler
- public class SVGTagHandler
- extends TagHandler
- Version:
- $Id: SVGTagHandler.java,v 1.2 2002/08/24 00:04:15 duns Exp $
- Author:
- Mark Donszelmann
- Source Code:
- SVGTagHandler.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVGTagHandler
public SVGTagHandler(boolean stylable,
Font font,
FontRenderContext fontContext)
stringWidth
public int stringWidth(TagString s)
openTag
protected String openTag(String tag)
- handles bold , italic , superscript , subscript , vertical , overline
- Overrides:
openTag
in class TagHandler
closeTag
protected String closeTag(String tag)
- Overrides:
closeTag
in class TagHandler
defaultEntity
protected String defaultEntity(String entity)
- Keep encoded strings for SVG
- Overrides:
defaultEntity
in class TagHandler
entity
protected String entity(String entity)
- Overrides:
entity
in class TagHandler
text
protected String text(String text)
- Overrides:
text
in class TagHandler
main
public static void main(String[] args)
Copyright © 2000-2004 FreeHEP, All Rights Reserved.