org.apache.fop.pdf

Class 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

String
getName()
boolean
isPDFA1LevelB()
String
toString()
static PDFAMode
valueOf(String s)
Returns the mode enum object given a String.

Field Details

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 Details

getName

public 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.

toString

public String toString()

valueOf

public static PDFAMode valueOf(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)

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