org.xwiki.rendering.listener.reference
Class AttachmentResourceReference

java.lang.Object
  extended by org.xwiki.rendering.listener.reference.ResourceReference
      extended by 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.
 
Constructor Summary
AttachmentResourceReference(String reference)
           
 
Method Summary
 String getQueryString()
           
 void setQueryString(String queryString)
           
 
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
 

Field Detail

QUERY_STRING

public static final String QUERY_STRING
The name of the parameter representing the Query String.

See Also:
Constant Field Values
Constructor Detail

AttachmentResourceReference

public AttachmentResourceReference(String reference)
Parameters:
reference - see ResourceReference.getReference()
Method Detail

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-2011 XWiki. All Rights Reserved.