|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.AFPResourceInfo
public class AFPResourceInfo
The level at which a resource is to reside in the AFP output
Field Summary | |
---|---|
static AFPResourceLevel |
DEFAULT_LEVEL
the general default resource level |
Constructor Summary | |
---|---|
AFPResourceInfo()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.awt.Dimension |
getImageDimension()
Returns an optional image dimension (in page coordinates). |
AFPResourceLevel |
getLevel()
Returns the resource level |
java.lang.String |
getName()
Returns the resource reference name |
java.lang.String |
getUri()
Returns the URI of this data object. |
int |
hashCode()
|
boolean |
levelChanged()
Returns true when the resource level was set |
void |
setImageDimension(java.awt.Dimension dim)
Sets an optional image dimension (in page coordinates). |
void |
setLevel(AFPResourceLevel resourceLevel)
Sets the resource level |
void |
setName(java.lang.String resourceName)
Sets the resource reference name |
void |
setUri(java.lang.String uri)
Sets the data object URI. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AFPResourceLevel DEFAULT_LEVEL
Constructor Detail |
---|
public AFPResourceInfo()
Method Detail |
---|
public void setUri(java.lang.String uri)
uri
- the data object URIpublic java.lang.String getUri()
public void setImageDimension(java.awt.Dimension dim)
dim
- the image dimension (in page coordinates)public java.awt.Dimension getImageDimension()
public void setName(java.lang.String resourceName)
resourceName
- the resource reference namepublic java.lang.String getName()
public AFPResourceLevel getLevel()
public void setLevel(AFPResourceLevel resourceLevel)
resourceLevel
- the resource levelpublic boolean levelChanged()
public 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.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |