xmlgraphics-commons 1.4

org.apache.xmlgraphics.ps.dsc
Class DSCCommentFactory

java.lang.Object
  extended by org.apache.xmlgraphics.ps.dsc.DSCCommentFactory

public class DSCCommentFactory
extends java.lang.Object

Factory for DSCComment subclasses.


Constructor Summary
DSCCommentFactory()
           
 
Method Summary
static DSCComment createDSCCommentFor(java.lang.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
 

Constructor Detail

DSCCommentFactory

public DSCCommentFactory()
Method Detail

createDSCCommentFor

public static DSCComment createDSCCommentFor(java.lang.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.

xmlgraphics-commons 1.4

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