public class AFPResourceLevel extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AFPResourceLevel.ResourceType |
Constructor and Description |
---|
AFPResourceLevel(AFPResourceLevel.ResourceType resourceType)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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(URI uri)
Sets the URI of the external resource group.
|
String |
toString() |
static AFPResourceLevel |
valueOf(String levelString)
Sets the resource placement level within the AFP output
|
public AFPResourceLevel(AFPResourceLevel.ResourceType resourceType)
resourceType
- the resource typepublic static AFPResourceLevel valueOf(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 URI getExternalURI()
public void setExternalUri(URI uri)
uri
- the URI of the external resource groupCopyright © 2025 Apache Software Foundation. All rights reserved.