T function ( String arg0 , Map < String , String > arg1 , Class < T > arg2 ) { Object loc0 = evaluate ( arg0 , arg1 , XPathConstants . STRING ) ; return loc0 == null ? null : ( T ) InjectionUtils . convertStringToPrimitive ( loc0 . toString ( ) , arg2 ) ; }
find the attribute or simple/text node and convert the string value to the instance of the provided class , example , integer.class . concode_field_sep String XML_NAMESPACE concode_elem_sep InputStream stream concode_elem_sep Document doc concode_elem_sep Map<String,String> namespaces concode_field_sep URI[] getLinks concode_elem_sep String getPrefix concode_elem_sep T[] getNodes concode_elem_sep T[] getNodes concode_elem_sep String[] getValues concode_elem_sep String[] getValues concode_elem_sep void setBuffering concode_elem_sep URI getLink concode_elem_sep URI getLink concode_elem_sep String getNamespaceURI concode_elem_sep Iterator<?> getPrefixes concode_elem_sep Object readPrimitiveValue concode_elem_sep T getNode concode_elem_sep T getNode concode_elem_sep URI getBaseURI concode_elem_sep Object evaluate concode_elem_sep T readNode