DocumentNavigationExtensionConstants
public class URIAction extends AbstractAction implements DocumentNavigationExtensionConstants
BOOKMARK, BOOKMARK_TREE, GOTO_URI, GOTO_XY, LINK, NAMED_DESTINATION, NAMESPACE, PREFIX
Constructor | Description |
---|---|
URIAction(java.lang.String uri,
boolean newWindow) |
Creates a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getIDPrefix() |
Returns a string that is used to prefix a generated ID to make it unique.
|
java.lang.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(org.xml.sax.ContentHandler handler) |
getID, getStructureTreeElement, hasID, isComplete, setID, setStructureTreeElement
public URIAction(java.lang.String uri, boolean newWindow)
uri
- the target URInewWindow
- true if the link should be opened in a new windowpublic java.lang.String getURI()
public boolean isNewWindow()
public boolean isSame(AbstractAction other)
Object.equals(Object)
!isSame
in class AbstractAction
other
- the other action to compare topublic java.lang.String getIDPrefix()
getIDPrefix
in class AbstractAction
public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.