## Uses of Interface
org.apache.xmlgraphics.ps.dsc.events.DSCComment

- Packages that use DSCComment
  Package | Description
  --- | ---
  org.apache.xmlgraphics.ps.dsc | Tools for DSC-compliant PostScript files (DSC = Document Structuring Conventions).
  org.apache.xmlgraphics.ps.dsc.events | Event classes used by the DSC parser.
  org.apache.xmlgraphics.ps.dsc.tools | Tools for working with DSC-compliant PostScript files.

- - ### Uses of DSCComment in org.apache.xmlgraphics.ps.dsc

    Methods in org.apache.xmlgraphics.ps.dsc that return DSCComment
    Modifier and Type | Method and Description
    --- | ---
    `static DSCComment` | DSCCommentFactory.`createDSCCommentFor(java.lang.String name)` Creates and returns new instances for DSC comments with a given name.
    `DSCComment` | DSCParser.`nextDSCComment(java.lang.String name)` Advances to the next DSC comment with the given name.
    `DSCComment` | DSCParser.`nextDSCComment(java.lang.String name, PSGenerator gen)` Advances to the next DSC comment with the given name.

    Methods in org.apache.xmlgraphics.ps.dsc with parameters of type DSCComment
    Modifier and Type | Method and Description
    --- | ---
    `void` | EventRecorder.`handleDSCComment(DSCComment comment)`
    `void` | DefaultDSCHandler.`handleDSCComment(DSCComment comment)`
    `void` | DSCHandler.`handleDSCComment(DSCComment comment)` Called for each standard DSC comment.

  - ### Uses of DSCComment in org.apache.xmlgraphics.ps.dsc.events

    Classes in org.apache.xmlgraphics.ps.dsc.events that implement DSCComment
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractDSCComment` Abstract base class for DSC comments.
    `class` | `AbstractResourceDSCComment` Abstract base class for resource comments.
    `class` | `AbstractResourcesDSCComment` Abstract base class for Resource DSC comments (DocumentNeededResources, DocumentSuppliedResources and PageResources).
    `class` | `DSCAtend` This class represents a DSC comment with an "(ATEND)" value.
    `class` | `DSCCommentBeginDocument` Represents a %BeginDocument DSC comment.
    `class` | `DSCCommentBeginResource` Represents a %BeginResource DSC comment.
    `class` | `DSCCommentBoundingBox` Represents a %%BoundingBox DSC comment.
    `class` | `DSCCommentDocumentNeededResources` Represents a %%DocumentNeededResources DSC comment.
    `class` | `DSCCommentDocumentSuppliedResources` Represents a %%DocumentSuppliedResources DSC comment.
    `class` | `DSCCommentEndComments` Respresents a %%EndComments DSC comment.
    `class` | `DSCCommentEndOfFile` Represents a %%EOF DSC comment.
    `class` | `DSCCommentHiResBoundingBox` Represents a %%HiResBoundingBox DSC comment.
    `class` | `DSCCommentIncludeResource` Represents a %IncludeResource DSC comment.
    `class` | `DSCCommentLanguageLevel` Represents a %%LanguageLevel DSC comment
    `class` | `DSCCommentPage` Represents a %%Page DSC comment.
    `class` | `DSCCommentPageBoundingBox` Represents a %%PageBoundingBox DSC comment.
    `class` | `DSCCommentPageHiResBoundingBox` Represents a %%PageHiResBoundingBox DSC comment.
    `class` | `DSCCommentPageResources` Represents a %%PageResources DSC comment.
    `class` | `DSCCommentPages` Represents the %%Pages DSC comment.
    `class` | `DSCCommentTitle` Represents a %%Title DSC comment.
    `class` | `UnparsedDSCComment` Represents a DSC comment that is not parsed into one of the concrete DSCComment subclasses.

    Methods in org.apache.xmlgraphics.ps.dsc.events that return DSCComment
    Modifier and Type | Method and Description
    --- | ---
    `DSCComment` | AbstractDSCComment.`asDSCComment()`
    `DSCComment` | UnparsedDSCComment.`asDSCComment()`
    `DSCComment` | AbstractEvent.`asDSCComment()`
    `DSCComment` | DSCEvent.`asDSCComment()` Casts this instance to a DSCComment if possible.
    `DSCComment` | DSCAtend.`createDSCCommentFromAtend()` Creates a new instance of a DSC comment with the same name as this instance but does not have an "Atend" value.

  - ### Uses of DSCComment in org.apache.xmlgraphics.ps.dsc.tools

    Methods in org.apache.xmlgraphics.ps.dsc.tools that return DSCComment
    Modifier and Type | Method and Description
    --- | ---
    `static DSCComment` | DSCTools.`nextPageOrTrailer(DSCParser parser, PSGenerator gen)` Advances the parser to the next page or to the trailer or the end of file comment.

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