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

- Packages that use DSCEvent
  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 DSCEvent in org.apache.xmlgraphics.ps.dsc

    Methods in org.apache.xmlgraphics.ps.dsc that return DSCEvent
    Modifier and Type | Method and Description
    --- | ---
    `DSCEvent` | DSCParser.`getCurrentEvent()` Returns the current event.
    `DSCEvent` | DSCParser.`nextEvent()` Steps to the next item returning the new event.
    `DSCEvent` | DSCParser.`peek()` Returns the next event without moving the cursor to the next event.

    Methods in org.apache.xmlgraphics.ps.dsc with parameters of type DSCEvent
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | DSCFilter.`accept(DSCEvent event)` Indicates whether a particular event is acceptable or if it should be skipped/ignored.
    `void` | DefaultNestedDocumentHandler.`handle(DSCEvent event, DSCParser parser)` Handle a DSC event.
    `void` | NestedDocumentHandler.`handle(DSCEvent event, DSCParser parser)` Handle a DSC event.
    `void` | DefaultNestedDocumentHandler.`processEvent(DSCEvent event, DSCParser parser)` Called for each DSC event.
    `void` | DSCListener.`processEvent(DSCEvent event, DSCParser parser)` Called for each DSC event.
    `void` | FilteringEventListener.`processEvent(DSCEvent event, DSCParser parser)` Called for each DSC event.

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

    Subinterfaces of DSCEvent in org.apache.xmlgraphics.ps.dsc.events
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `DSCComment` Base interface for all DSC comments.

    Classes in org.apache.xmlgraphics.ps.dsc.events that implement DSCEvent
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractDSCComment` Abstract base class for DSC comments.
    `class` | `AbstractEvent` Abstract base class for DSC events.
    `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` | `DSCHeaderComment` Represents a DSC header comment (beginning with "%!).
    `class` | `PostScriptComment` Represents a PostScript comment
    `class` | `PostScriptLine` Represents a line of PostScript code.
    `class` | `UnparsedDSCComment` Represents a DSC comment that is not parsed into one of the concrete DSCComment subclasses.

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

    Methods in org.apache.xmlgraphics.ps.dsc.tools with parameters of type DSCEvent
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | DSCTools.`headerCommentsEndHere(DSCEvent event)` Indicates whether the given event ends a header comment section according to the rules in DSC 3.0, chapter 4.4.

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