# Package org.apache.fop.util

Various utility classes (I/O, codecs, color support, service discovers etc.).

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ContentHandlerFactory | Factory interface implemented by classes that can instantiate ContentHandler subclasses which parse a SAX stream into Java objects.
  ContentHandlerFactory.ObjectBuiltListener | EventListener interface for objects which want to get notified when ContentHandler implementing the ObjectSource interface has finished parsing.
  ContentHandlerFactory.ObjectSource | Interface that ContentHandler implementations that parse Java objects from XML can implement to return these objects.
  XMLConstants | A collection of constants for XML handling.

- Class Summary
  Class | Description
  --- | ---
  AbstractPaintingState | A base class which holds information about the current painting state.
  BreakUtil | A utility class for manipulating break classes (the break-before and break-after properties).
  CharUtilities | This class provides utilities to distinguish various kinds of Unicode whitespace and to get character widths in a given FontState.
  CloseBlockerOutputStream | This is a decorator to block calls to close() to the underlying stream.
  ColorExt | Deprecated Replaced by `ColorWithAlternatives`
  ColorProfileUtil | Deprecated use org.apache.xmlgraphics.java2d.color.profile.ColorProfileUtil directly
  ColorSpaceCache | Map with cached ICC based ColorSpace objects.
  ColorUtil | Generic Color helper class.
  ColorWithFallback | This class is a `Color` subclass adding a fallback color that FOP uses to re-serialize color specifications as textual functions.
  CompareUtil | A utility class that provides helper methods for implementing equals and hashCode.
  ContentHandlerFactoryRegistry | This class holds references to various XML handlers used by FOP.
  ConversionUtils | This class contains utility methods for conversions, like a java.lang.String to an array of int or double.
  DataURIResolver | Deprecated
  DataURLUtil | Deprecated use org.apache.xmlgraphics.util.uri.DataURLUtil directly
  DelegatingContentHandler | SAX 2 Event Handler which simply delegates all calls to another ContentHandler.
  DOM2SAX | Helper class that produces a SAX stream from a DOM Document.
  DOMBuilderContentHandlerFactory | ContentHandlerFactory which constructs ContentHandlers that build DOM Documents.
  GenerationHelperContentHandler | This class is a delegating SAX ContentHandler which has the purpose to provide a few handy methods that make life easier when generating SAX events.
  HexEncoder | A helper class to create hex-encoded representations of numbers.
  LanguageTags | Provides utility methods for manipulating language tags compliant with the RFC 3066 specification available at http://www.ietf.org/rfc/rfc3066.txt.
  ListUtil | Provides helper functions for `List`.
  LogUtil | Convenience Logging utility methods used in FOP
  OCAColor | OCAColor is a single component color representation that is mostly used in AFP documents to represent text foreground color.
  OCAColorSpace | The OCA color space is a subset of RGB that includes a limited set of colors.
  QName | Deprecated Use the XML Graphics Commons variant instead!
  TransformerDefaultHandler | A DefaultHandler implementation that delegates all the method calls to a `TransformerHandler` instance.
  UnclosableInputStream | Provides an InputStreamFilter which avoids closing the original stream.
  UnitConv | Deprecated use org.apache.xmlgraphics.util.UnitConv instead.
  WriterOutputStream | Deprecated use org.apache.xmlgraphics.util.WriterOutputStream instead
  XMLUtil | A collection of utility method for XML handling.

- Enum Summary
  Enum | Description
  --- | ---
  OCAColor.OCAColorValue |

## Package org.apache.fop.util Description

Various utility classes (I/O, codecs, color support, service discovers etc.).

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