Class ElementParserImpl
java.lang.Object
org.glassfish.pfl.basic.tools.argparser.ElementParserImpl
- All Implemented Interfaces:
Function<String,
,Object> UnaryFunction<String,
,Object> ElementParser
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface org.glassfish.pfl.basic.tools.argparser.ElementParser
factory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) String[]
String[]
describe()
private ElementParserImpl.ResultData
private String
getEnumElements
(Class<?> cls) private Class
getListElementClass
(Method meth) private UnaryFunction
<String, Object> getPrimitiveParser
(Class type) private String
getSeparator
(Method meth) private ElementParserImpl.ResultData
getSimpleData
(Class type) private UnaryFunction
<String, Object> makeClassConverter
(Class<?> type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.glassfish.pfl.basic.func.UnaryFunction
apply
-
Field Details
-
func
-
description
-
-
Constructor Details
-
ElementParserImpl
-
-
Method Details
-
evaluate
- Specified by:
evaluate
in interfaceUnaryFunction<String,
Object>
-
describe
- Specified by:
describe
in interfaceElementParser
-
append
-
getData
-
getSimpleData
-
getEnumElements
-
getPrimitiveParser
-
makeClassConverter
-
getListElementClass
-
getSeparator
-