xmlgraphics-commons 1.4

Deprecated API


Contents
Deprecated Classes
org.apache.xmlgraphics.java2d.CMYKColorSpace
          This class has been moved to the "color" subpackage. 
org.apache.xmlgraphics.xmp.schemas.pdf.PDFAOldXMPSchema
          Outdated, please use PDFAXMPSchema instead 
 

Deprecated Fields
org.apache.xmlgraphics.ps.PSGenerator.ATEND
          Please use DSCConstants.ATEND. This constant was in the wrong place. 
org.apache.xmlgraphics.ps.DSCConstants.END_PAGE
          Shouldn't really use that. Bad idea. "Page" and "Trailer" end a page. 
org.apache.xmlgraphics.xmp.XMPConstants.PDF_A_IDENTIFICATION_OLD
          Outdated, please use PDF_A_IDENTIFICATION instead. 
 

Deprecated Methods
org.apache.xmlgraphics.java2d.TextHandler.drawString(String, float, float)
          Use #drawString(Graphics2D, String, float, float) instead. 
org.apache.xmlgraphics.image.loader.impl.AbstractImageLoaderFactory.getUsagePenalty(String, ImageFlavor)
          Redundancy with ImageLoader.getUsagePenalty() 
org.apache.xmlgraphics.image.loader.spi.ImageLoaderFactory.getUsagePenalty(String, ImageFlavor)
          Redundancy with ImageLoader.getUsagePenalty() 
org.apache.xmlgraphics.fonts.Glyphs.glyphToString(String)
          User getUnicodeCodePointsForGlyphName instead. This method only returns the first Unicode code point it finds. 
org.apache.xmlgraphics.ps.PSGenerator.isResourceSupplied(PSResource)
          Use the isResourceSupplied() on ResourceTracker instead. 
org.apache.xmlgraphics.ps.PSGenerator.notifyResourceUsage(PSResource, boolean)
          Use the notifyResourceUsageOnPage() on ResourceTracker instead 
org.apache.xmlgraphics.ps.PSGenerator.notifyStartNewPage()
          Use the notifyStartNewPage() on ResourceTracker instead. 
org.apache.xmlgraphics.ps.PSImageUtils.paintForm(PSResource, Rectangle2D, PSGenerator)
          Please use PSImageUtils.paintForm(PSResource, Dimension2D, Rectangle2D, PSGenerator) instead. 
org.apache.xmlgraphics.ps.PSImageUtils.paintReusableImage(String, Rectangle2D, PSGenerator)
          Please use PSImageUtils.paintForm(PSResource, Dimension2D, Rectangle2D, PSGenerator) instead. 
org.apache.xmlgraphics.ps.PSImageUtils.renderEPS(byte[], String, float, float, float, float, float, float, float, float, PSGenerator)
          Please use the variant with the InputStream as parameter 
org.apache.xmlgraphics.ps.PSGenerator.useRGBColor(Color)
          use useColor method instead 
org.apache.xmlgraphics.ps.PSProcSets.writeFOPEPSProcSet(PSGenerator)
          Use writeEPSProcSet() instead. 
org.apache.xmlgraphics.ps.PSProcSets.writeFOPStdProcSet(PSGenerator)
          Use writeStdProcSet() instead. 
org.apache.xmlgraphics.ps.PSImageUtils.writeImage(byte[], Dimension, String, Rectangle2D, boolean, ColorSpace, PSGenerator)
          Please use the variant with the more versatile ImageEncoder as parameter 
org.apache.xmlgraphics.ps.PSGenerator.writeResources(boolean)
          Use the writeResources() on ResourceTracker instead. 
org.apache.xmlgraphics.ps.PSImageUtils.writeReusableImage(byte[], Dimension, String, String, boolean, ColorSpace, PSGenerator)
          Please use FormGenerator 
org.apache.xmlgraphics.ps.PSImageUtils.writeReusableImage(ImageEncoder, Dimension, String, String, ColorSpace, boolean, PSGenerator)
          Please use FormGenerator 
 

Deprecated Constructors
org.apache.xmlgraphics.java2d.StrokingTextHandler(AbstractGraphics2D)
          Use default constructor instead 
 


xmlgraphics-commons 1.4

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