org.jboss.resteasy.core
Class StringParameterInjector

java.lang.Object
  extended by org.jboss.resteasy.core.StringParameterInjector
Direct Known Subclasses:
CookieParamInjector, FormParamInjector, HeaderParamInjector, MatrixParamInjector, QueryParamInjector

public class StringParameterInjector
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  java.lang.Class baseType
           
protected  java.lang.Class<? extends java.util.Collection> collectionType
           
protected  java.lang.reflect.Constructor constructor
           
protected  StringConverter converter
           
protected  java.lang.String defaultValue
           
protected  RuntimeDelegate.HeaderDelegate delegate
           
protected  boolean isCollection
           
protected  java.lang.String paramName
           
protected  java.lang.Class paramType
           
protected  java.lang.reflect.AccessibleObject target
           
protected  java.lang.Class type
           
protected  StringParameterUnmarshaller unmarshaller
           
protected  java.lang.reflect.Method valueOf
           
 
Constructor Summary
StringParameterInjector()
           
StringParameterInjector(java.lang.Class type, java.lang.reflect.Type genericType, java.lang.String paramName, java.lang.Class paramType, java.lang.String defaultValue, java.lang.reflect.AccessibleObject target, java.lang.annotation.Annotation[] annotations, ResteasyProviderFactory factory)
           
 
Method Summary
 java.lang.Object extractValue(java.lang.String strVal)
           
 java.lang.Object extractValues(java.util.List<java.lang.String> values)
           
 java.lang.String getParamSignature()
           
protected  void initialize(java.lang.Class type, java.lang.reflect.Type genericType, java.lang.String paramName, java.lang.Class paramType, java.lang.String defaultValue, java.lang.reflect.AccessibleObject target, java.lang.annotation.Annotation[] annotations, ResteasyProviderFactory factory)
           
 boolean isCollectionOrArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected java.lang.Class type

baseType

protected java.lang.Class baseType

constructor

protected java.lang.reflect.Constructor constructor

valueOf

protected java.lang.reflect.Method valueOf

defaultValue

protected java.lang.String defaultValue

paramName

protected java.lang.String paramName

paramType

protected java.lang.Class paramType

isCollection

protected boolean isCollection

collectionType

protected java.lang.Class<? extends java.util.Collection> collectionType

target

protected java.lang.reflect.AccessibleObject target

converter

protected StringConverter converter

unmarshaller

protected StringParameterUnmarshaller unmarshaller

delegate

protected RuntimeDelegate.HeaderDelegate delegate
Constructor Detail

StringParameterInjector

public StringParameterInjector()

StringParameterInjector

public StringParameterInjector(java.lang.Class type,
                               java.lang.reflect.Type genericType,
                               java.lang.String paramName,
                               java.lang.Class paramType,
                               java.lang.String defaultValue,
                               java.lang.reflect.AccessibleObject target,
                               java.lang.annotation.Annotation[] annotations,
                               ResteasyProviderFactory factory)
Method Detail

isCollectionOrArray

public boolean isCollectionOrArray()

initialize

protected void initialize(java.lang.Class type,
                          java.lang.reflect.Type genericType,
                          java.lang.String paramName,
                          java.lang.Class paramType,
                          java.lang.String defaultValue,
                          java.lang.reflect.AccessibleObject target,
                          java.lang.annotation.Annotation[] annotations,
                          ResteasyProviderFactory factory)

getParamSignature

public java.lang.String getParamSignature()

extractValues

public java.lang.Object extractValues(java.util.List<java.lang.String> values)

extractValue

public java.lang.Object extractValue(java.lang.String strVal)


Copyright © 2010. All Rights Reserved.