|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.AFPResourceLevel
public class AFPResourceLevel
A resource level
Field Summary | |
---|---|
static int |
DOCUMENT
document level |
static int |
EXTERNAL
external level |
static int |
INLINE
directly in page |
static int |
PAGE
page level |
static int |
PAGE_GROUP
page group level |
static int |
PRINT_FILE
print file level |
Constructor Summary | |
---|---|
AFPResourceLevel(int level)
Main constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getExternalFilePath()
Returns the destination file path of the external resource group file |
int |
hashCode()
|
boolean |
isDocument()
Returns true if this is at document level |
boolean |
isExternal()
Returns true if this is at external level |
boolean |
isInline()
Returns true if this resource level is inline |
boolean |
isPage()
Returns true if this is at page level |
boolean |
isPageGroup()
Returns true if this is at page group level |
boolean |
isPrintFile()
Returns true if this is at print-file level |
void |
setExternalFilePath(java.lang.String filePath)
Sets the external destination of the resource |
void |
setLevel(int level)
Sets the resource level |
java.lang.String |
toString()
|
static AFPResourceLevel |
valueOf(java.lang.String levelString)
Sets the resource placement level within the AFP output |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int INLINE
public static final int PAGE
public static final int PAGE_GROUP
public static final int DOCUMENT
public static final int PRINT_FILE
public static final int EXTERNAL
Constructor Detail |
---|
public AFPResourceLevel(int level)
level
- the resource levelMethod Detail |
---|
public static AFPResourceLevel valueOf(java.lang.String levelString)
levelString
- the resource level (page, page-group, document, print-file or external)
public void setLevel(int level)
level
- the resource levelpublic boolean isPage()
public boolean isPageGroup()
public boolean isDocument()
public boolean isExternal()
public boolean isPrintFile()
public boolean isInline()
public java.lang.String getExternalFilePath()
public void setExternalFilePath(java.lang.String filePath)
filePath
- the external resource group filepublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |