Package net.officefloor.web
Class HttpPathParameter.HttpPathParameterNameFactory
- java.lang.Object
-
- net.officefloor.web.HttpPathParameter.HttpPathParameterNameFactory
-
- All Implemented Interfaces:
QualifierNameFactory<HttpPathParameter>
- Enclosing class:
- HttpPathParameter
public static class HttpPathParameter.HttpPathParameterNameFactory extends java.lang.Object implements QualifierNameFactory<HttpPathParameter>
-
-
Constructor Summary
Constructors Constructor Description HttpPathParameterNameFactory()
-
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(HttpPathParameter 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(HttpPathParameter annotation)
Description copied from interface:QualifierNameFactory
Obtains theQualifier
name from theAnnotation
.- Specified by:
getQualifierName
in interfaceQualifierNameFactory<HttpPathParameter>
- Parameters:
annotation
-Annotation
containing attributes to aid determining the name.- Returns:
- Qualified name.
-
-