Package net.officefloor.web
Class HttpQueryParameter.HttpQueryParameterNameFactory
- java.lang.Object
-
- net.officefloor.web.HttpQueryParameter.HttpQueryParameterNameFactory
-
- All Implemented Interfaces:
QualifierNameFactory<HttpQueryParameter>
- Enclosing class:
- HttpQueryParameter
public static class HttpQueryParameter.HttpQueryParameterNameFactory extends java.lang.Object implements QualifierNameFactory<HttpQueryParameter>
-
-
Constructor Summary
Constructors Constructor Description HttpQueryParameterNameFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getQualifier(java.lang.String name)
Obtains the qualifier from name.java.lang.String
getQualifierName(HttpQueryParameter annotation)
Obtains theQualifier
name from theAnnotation
.
-
-
-
Method Detail
-
getQualifier
public static java.lang.String getQualifier(java.lang.String name)
Obtains the qualifier from name.- Parameters:
name
- Name.- Returns:
- Qualifier.
-
getQualifierName
public java.lang.String getQualifierName(HttpQueryParameter annotation)
Description copied from interface:QualifierNameFactory
Obtains theQualifier
name from theAnnotation
.- Specified by:
getQualifierName
in interfaceQualifierNameFactory<HttpQueryParameter>
- Parameters:
annotation
-Annotation
containing attributes to aid determining the name.- Returns:
- Qualified name.
-
-