org.apache.xmlgraphics.ps.dsc

## Class DSCCommentFactory

- java.lang.Object
- - org.apache.xmlgraphics.ps.dsc.DSCCommentFactory

-     public final class DSCCommentFactory
      extends Object

  Factory for DSCComment subclasses.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DSCComment` | `createDSCCommentFor(String name)` Creates and returns new instances for DSC comments with a given name.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### createDSCCommentFor

          public static DSCComment createDSCCommentFor(String name)

      Creates and returns new instances for DSC comments with a given name.
      Parameters:
        `name` - the name of the DSCComment (without the "%%" prefix)
      Returns:
        the new instance or null if no particular subclass registered for the given DSC comment.

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