fop 0.95

org.apache.fop.pdf
Class PDFAMode

java.lang.Object
  extended by org.apache.fop.pdf.PDFAMode

public final class PDFAMode
extends java.lang.Object

Enum class for PDF/A modes.


Field Summary
static PDFAMode DISABLED
          PDF/A disabled
static PDFAMode PDFA_1A
          PDF/A-1a enabled
static PDFAMode PDFA_1B
          PDF/A-1b enabled
 
Method Summary
 java.lang.String getName()
           
 boolean isPDFA1LevelB()
           
 java.lang.String toString()
          
static PDFAMode valueOf(java.lang.String s)
          Returns the mode enum object given a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DISABLED

public static final PDFAMode DISABLED
PDF/A disabled


PDFA_1A

public static final PDFAMode PDFA_1A
PDF/A-1a enabled


PDFA_1B

public static final PDFAMode PDFA_1B
PDF/A-1b enabled

Method Detail

getName

public java.lang.String getName()
Returns:
the name of the enum

isPDFA1LevelB

public boolean isPDFA1LevelB()
Returns:
true if this mode obey the restrictions established by PDF/A-1b.

valueOf

public static PDFAMode valueOf(java.lang.String s)
Returns the mode enum object given a String.

Parameters:
s - the string
Returns:
the PDFAMode enum object (DISABLED will be returned if no match is found)

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

fop 0.95

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