Package org.apache.xmlgraphics.ps.dsc
Class DSCCommentFactory
java.lang.Object
org.apache.xmlgraphics.ps.dsc.DSCCommentFactory
Factory for DSCComment subclasses.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DSCComment
createDSCCommentFor
(String name) Creates and returns new instances for DSC comments with a given name.
-
Method Details
-
createDSCCommentFor
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.
-