Class DSCCommentLanguageLevel

    • Field Detail

      • level

        private int level
    • Constructor Detail

      • DSCCommentLanguageLevel

        public DSCCommentLanguageLevel()
        Creates a new instance.
      • DSCCommentLanguageLevel

        public DSCCommentLanguageLevel​(int level)
        Creates a new instance
        Parameters:
        level - the PostScript language level (usually 2 or 3)
    • Method Detail

      • getLanguageLevel

        public int getLanguageLevel()
        Returns the PostScript language level (usually 2 or 3).
        Returns:
        the language level
      • getName

        public java.lang.String getName()
        Description copied from interface: DSCComment
        Returns the name of the DSC comment.
        Returns:
        the name of the DSC comment (without the "%%" prefix)
        See Also:
        DSCComment.getName()
      • hasValues

        public boolean hasValues()
        Description copied from interface: DSCComment
        Indicates whether this DSC comment has values.
        Returns:
        true if the DSC comment has values
        See Also:
        DSCComment.hasValues()