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:
- java.lang.Cloneable
public class AttachmentResourceReference
- extends ResourceReference
Represents a reference to an Attachment.
- Since:
- 2.5RC1
- Version:
- $Id: AttachmentResourceReference.java 32048 2010-10-22 14:14:31Z sdumitriu $
|
Field Summary |
static java.lang.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 |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
QUERY_STRING
public static final java.lang.String QUERY_STRING
- The name of the parameter representing the Query String.
- See Also:
- Constant Field Values
AttachmentResourceReference
public AttachmentResourceReference(java.lang.String reference)
- Parameters:
reference - see ResourceReference.getReference()
getQueryString
public java.lang.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(java.lang.String queryString)
- Parameters:
queryString - see getQueryString()
Copyright © 2004-2011 XWiki. All Rights Reserved.