com.qoppa.preflight.profiles
Class Profile

java.lang.Object
  extended bycom.qoppa.preflight.profiles.Profile
Direct Known Subclasses:
PDFX_1a_Profile, PDFX_3_Profile

public abstract class Profile
extends Object

Abstract class that represents a preflight profile. This class holds the set of rules that are applied to a document when preflighting. Different profiles are included in this package that extend this abstract class.

Author:
Qoppa Software

Constructor Summary
Profile()
           
 
Method Summary
 Vector getContentRules()
          Returns a list of the "content" rules used by this profile.
abstract  String getDescription()
          Returns a simple description of this profile.
abstract  String getName()
          Returns the name of this profile.
 Vector getOperatorRules()
          Returns a list of the "operator" rules used by this profile.
static Vector getProfileList()
          Convenience method that returns a list of the possible concrete profiles provided with the product.
 Vector getStructureRules()
          Returns a list of the "structure" rules used by this profile.
 String toString()
          Returns the name of the profile.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Method Detail

getProfileList

public static Vector getProfileList()
Convenience method that returns a list of the possible concrete profiles provided with the product.

Returns:
A list of predefined profiles that can be used to preflight a document.

getName

public abstract String getName()
Returns the name of this profile.

Returns:
The name of the profile.

getDescription

public abstract String getDescription()
Returns a simple description of this profile.

Returns:
A short description of the profile.

toString

public String toString()
Returns the name of the profile.

Returns:
The name of the profile.

getStructureRules

public Vector getStructureRules()
Returns a list of the "structure" rules used by this profile. Strucuture rules are applied to the structure of the document, as opposed to the page contents.

Returns:
A list of structure rules

getContentRules

public Vector getContentRules()
Returns a list of the "content" rules used by this profile. Content rules are applied to the page content elements at the time of drawing.

Returns:
A list of content rules

getOperatorRules

public Vector getOperatorRules()
Returns a list of the "operator" rules used by this profile. Operator rules are applied to any operators used by the page content.

Returns:
A list of operator rules