public class AFPResourceLevel
extends java.lang.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(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
|
public AFPResourceLevel(AFPResourceLevel.ResourceType resourceType)
resourceType - the resource typepublic 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.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.