org.apache.abdera.ext.opensearch.server.impl
Class SimpleOpenSearchUrlInfo

java.lang.Object
  extended by org.apache.abdera.ext.opensearch.server.impl.SimpleOpenSearchUrlInfo
All Implemented Interfaces:
OpenSearchUrlInfo

public class SimpleOpenSearchUrlInfo
extends Object
implements OpenSearchUrlInfo

Simple OpenSearchUrlInfo implementation.


Constructor Summary
SimpleOpenSearchUrlInfo()
           
 
Method Summary
 Url asUrlElement(RequestContext request)
          Create the related Url element.
 OpenSearchUrlAdapter getOpenSearchUrlAdapter()
          Get the OpenSearchUrlAdapter which will implement the actual search operation.
 OpenSearchUrlParameterInfo[] getSearchParameters()
          Get the URL search parameters.
 String getSearchPath()
          Get the URL search path as appear after the servlet context path, and without the query string.
 String getType()
          Get the URL content type.
 void setOpenSearchUrlAdapter(OpenSearchUrlAdapter openSearchUrlAdapter)
           
 void setSearchParameters(OpenSearchUrlParameterInfo... searchParameters)
           
 void setSearchPath(String searchPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleOpenSearchUrlInfo

public SimpleOpenSearchUrlInfo()
Method Detail

getType

public String getType()
Description copied from interface: OpenSearchUrlInfo
Get the URL content type.

Specified by:
getType in interface OpenSearchUrlInfo

getSearchPath

public String getSearchPath()
Description copied from interface: OpenSearchUrlInfo
Get the URL search path as appear after the servlet context path, and without the query string.

Specified by:
getSearchPath in interface OpenSearchUrlInfo

setSearchPath

public void setSearchPath(String searchPath)

getSearchParameters

public OpenSearchUrlParameterInfo[] getSearchParameters()
Description copied from interface: OpenSearchUrlInfo
Get the URL search parameters.

Specified by:
getSearchParameters in interface OpenSearchUrlInfo

setSearchParameters

public void setSearchParameters(OpenSearchUrlParameterInfo... searchParameters)

getOpenSearchUrlAdapter

public OpenSearchUrlAdapter getOpenSearchUrlAdapter()
Description copied from interface: OpenSearchUrlInfo
Get the OpenSearchUrlAdapter which will implement the actual search operation.

Specified by:
getOpenSearchUrlAdapter in interface OpenSearchUrlInfo

setOpenSearchUrlAdapter

public void setOpenSearchUrlAdapter(OpenSearchUrlAdapter openSearchUrlAdapter)

asUrlElement

public Url asUrlElement(RequestContext request)
Description copied from interface: OpenSearchUrlInfo
Create the related Url element.

Specified by:
asUrlElement in interface OpenSearchUrlInfo


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.