org.xwiki.rendering.listener.reference
Class AttachmentResourceReference
java.lang.Object
org.xwiki.rendering.listener.reference.ResourceReference
org.xwiki.rendering.listener.reference.AttachmentResourceReference
- All Implemented Interfaces:
- Cloneable
public class AttachmentResourceReference
- extends ResourceReference
Represents a reference to an Attachment.
- Since:
- 2.5RC1
- Version:
- $Id: 2df1f6c56dbe57e876273ef7578290bca9ba7cfe $
|
Field Summary |
static String |
QUERY_STRING
The name of the parameter representing the Query String. |
| Methods inherited from class org.xwiki.rendering.listener.reference.ResourceReference |
addBaseReference, addBaseReferences, clone, equals, getBaseReferences, getParameter, getParameters, getReference, getType, hashCode, isTyped, removeParameter, setParameter, setParameters, setReference, setType, setTyped, toString |
QUERY_STRING
public static final String QUERY_STRING
- The name of the parameter representing the Query String.
- See Also:
- Constant Field Values
AttachmentResourceReference
public AttachmentResourceReference(String reference)
- Parameters:
reference - see ResourceReference.getReference()
getQueryString
public String getQueryString()
- Returns:
- the query string for specifying parameters that will be used in the rendered URL or null if no query
string has been specified. Example: "mydata1=5&mydata2=Hello"
setQueryString
public void setQueryString(String queryString)
- Parameters:
queryString - see getQueryString()
Copyright © 2004-2014 XWiki. All Rights Reserved.