Package io.guise.framework
Class AbstractReferenceDestination
- java.lang.Object
-
- com.globalmentor.beans.BoundPropertyObject
-
- io.guise.framework.AbstractDestination
-
- io.guise.framework.AbstractReferenceDestination
-
- All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable
,com.globalmentor.beans.PropertyConstrainable
,Destination
,ReferenceDestination
- Direct Known Subclasses:
PermanentRedirectReferenceDestination
,TemporaryRedirectReferenceDestination
public abstract class AbstractReferenceDestination extends AbstractDestination implements ReferenceDestination
Abstract implementation of a destination referencing another destination.- Author:
- Garret Wilson
-
-
Constructor Summary
Constructors Constructor Description AbstractReferenceDestination(com.globalmentor.net.URIPath path, Destination destination)
Path and referenced destination constructor.AbstractReferenceDestination(java.util.regex.Pattern pathPattern, Destination destination)
Path pattern and referenced destination constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Destination
getDestination()
-
Methods inherited from class io.guise.framework.AbstractDestination
equals, exists, getCategories, getDescription, getPath, getPath, getPathPattern, hashCode, isAuthorized, setCategories
-
Methods inherited from class com.globalmentor.beans.BoundPropertyObject
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.guise.framework.Destination
exists, getCategories, getDescription, getPath, getPath, getPathPattern, isAuthorized, setCategories
-
-
-
-
Constructor Detail
-
AbstractReferenceDestination
public AbstractReferenceDestination(com.globalmentor.net.URIPath path, Destination destination)
Path and referenced destination constructor.- Parameters:
path
- The application context-relative path within the Guise container context, which does not begin with '/'.destination
- The referenced destination.- Throws:
java.lang.NullPointerException
- if the path and/or destination isnull
.java.lang.IllegalArgumentException
- if the provided path is absolute.
-
AbstractReferenceDestination
public AbstractReferenceDestination(java.util.regex.Pattern pathPattern, Destination destination)
Path pattern and referenced destination constructor.- Parameters:
pathPattern
- The pattern to match an application context-relative path within the Guise container context, which does not begin with '/'.destination
- The referenced destination.- Throws:
java.lang.NullPointerException
- if the path pattern and/or destination isnull
.
-
-
Method Detail
-
getDestination
public Destination getDestination()
- Specified by:
getDestination
in interfaceReferenceDestination
- Returns:
- The referenced destination.
-
-