org.openxri.urimapper.impl
Class NullURIMapper

java.lang.Object
  extended by org.openxri.config.impl.AbstractComponent
      extended by org.openxri.urimapper.impl.NullURIMapper
All Implemented Interfaces:
java.io.Serializable, Component, URIMapper

public class NullURIMapper
extends AbstractComponent
implements URIMapper

Can parse nothing, appends nothing, and there's no reason to use it :)

Author:
=peacekeeper
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openxri.config.impl.AbstractComponent
properties
 
Constructor Summary
NullURIMapper(java.util.Properties properties)
           
 
Method Summary
 void completeURI(java.lang.StringBuffer uri, java.lang.String namespace)
          Appends the needed namespace to the provided URI for resolution to this server
 void init()
          A server component is constructed by the ComponentRegistry by passing a Properties object to its constructor and then calling this init() method.
 URIMapperResult parseRequest(URIMapperRequest request)
          Parses an incoming request (containing of path and query part of a URI)
 
Methods inherited from class org.openxri.config.impl.AbstractComponent
getProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openxri.config.Component
getProperties
 

Constructor Detail

NullURIMapper

public NullURIMapper(java.util.Properties properties)
Method Detail

init

public void init()
Description copied from interface: Component
A server component is constructed by the ComponentRegistry by passing a Properties object to its constructor and then calling this init() method.

Specified by:
init in interface Component

parseRequest

public URIMapperResult parseRequest(URIMapperRequest request)
Description copied from interface: URIMapper
Parses an incoming request (containing of path and query part of a URI)

Specified by:
parseRequest in interface URIMapper
Parameters:
request - The path and query of the HTTP request.

completeURI

public void completeURI(java.lang.StringBuffer uri,
                        java.lang.String namespace)
Description copied from interface: URIMapper
Appends the needed namespace to the provided URI for resolution to this server

Specified by:
completeURI in interface URIMapper


Copyright © 2005-2012. All Rights Reserved.