org.apache.fop.render.ps.extensions

## Class PSCommentBefore

- java.lang.Object
- - org.apache.fop.render.ps.extensions.PSExtensionAttachment
  - - org.apache.fop.render.ps.extensions.PSCommentBefore

- All Implemented Interfaces:
    ExtensionAttachment, org.apache.xmlgraphics.util.XMLizable

      public class PSCommentBefore
      extends PSExtensionAttachment

  Custom postscript comment before class

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static java.lang.String` | `ELEMENT` Element name

    - ### Fields inherited from class org.apache.fop.render.ps.extensions.PSExtensionAttachment

      `CATEGORY, content`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PSCommentBefore()` Constructor
    `PSCommentBefore(java.lang.String content)` Default constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected java.lang.String` | `getElement()`

    - ### Methods inherited from class org.apache.fop.render.ps.extensions.PSExtensionAttachment

      `getCategory, getContent, getType, setContent, toSAX, toString`

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

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

- - ### Field Detail

    - #### ELEMENT

          protected static final java.lang.String ELEMENT

      Element name
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### PSCommentBefore

          public PSCommentBefore(java.lang.String content)

      Default constructor
      Parameters:
        `content` - the actual comment

    - #### PSCommentBefore

          public PSCommentBefore()

      Constructor

  - ### Method Detail

    - #### getElement

          protected java.lang.String getElement()

      Specified by:
        `getElement` in class `PSExtensionAttachment`
      Returns:
        element name

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