|
fop 2.2 | |||||||||
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
Nested Class Summary | |
---|---|
static class |
AFPResourceLevel.ResourceType
|
Constructor Summary | |
---|---|
AFPResourceLevel(AFPResourceLevel.ResourceType resourceType)
Main constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.net.URI |
getExternalURI()
Returns the URI of the external resource group. |
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 |
setExternalUri(java.net.URI uri)
Sets the URI of the external resource group. |
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 |
Constructor Detail |
---|
public AFPResourceLevel(AFPResourceLevel.ResourceType resourceType)
resourceType
- the resource typeMethod Detail |
---|
public static AFPResourceLevel valueOf(java.lang.String levelString)
levelString
- the resource level (page, page-group, document, print-file or external)
public boolean isPage()
public boolean isPageGroup()
public boolean isDocument()
public boolean isExternal()
public boolean isPrintFile()
public boolean isInline()
public java.net.URI getExternalURI()
public void setExternalUri(java.net.URI uri)
uri
- the URI of the external resource grouppublic 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 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |