public class URIAction extends AbstractAction implements DocumentNavigationExtensionConstants
BOOKMARK, BOOKMARK_TREE, GOTO_URI, GOTO_XY, LINK, NAMED_DESTINATION, NAMESPACE, PREFIX
Constructor and Description |
---|
URIAction(String uri,
boolean newWindow,
String altText)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getAltText() |
String |
getIDPrefix()
Returns a string that is used to prefix a generated ID to make it unique.
|
String |
getURI()
Returns the target URI.
|
boolean |
isNewWindow()
Indicates whether the link shall be opened in a new window.
|
boolean |
isSame(AbstractAction other)
Indicates whether two action are equal.
|
void |
toSAX(ContentHandler handler) |
getID, getStructureTreeElement, hasID, isComplete, setID, setStructureTreeElement
public String getURI()
public boolean isNewWindow()
public boolean isSame(AbstractAction other)
Object.equals(Object)
!isSame
in class AbstractAction
other
- the other action to compare topublic String getIDPrefix()
getIDPrefix
in class AbstractAction
public void toSAX(ContentHandler handler) throws SAXException
toSAX
in interface org.apache.xmlgraphics.util.XMLizable
SAXException
public String getAltText()
Copyright © 2025 Apache Software Foundation. All rights reserved.