@Override public String getName() { return NAME.getName(); }
@Override public String getName() { return NAME.getName(); }
/** * Gets the name of this function. * * @return the name of the function. */ public String getName() { if (name == null && functionName != null) { return functionName.getName(); } return name; }
/** * Gets the name of this function. * * @return the name of the function. */ public String getName() { return name.getName(); }
@Override public String getName() { return NAME.getName(); }
@Override public String getName() { return NAME.getName(); }
public String getName() { return NAME.getName(); }
public String getName() { return NAME.getName(); }
public String getName() { return NAME.getName(); }
public FunctionName getFunctionName(String name) { if (name == null || functionNames == null) { return null; } for (FunctionName functionName : functionNames) { if (name.equals(functionName.getName())) { return functionName; } } return null; }
assertNotNull(f); f = factory.function(IsInstanceOf.NAME.getName(), args, null); assertNotNull(f); f = factory.function(IsInstanceOf.NAME.getName(), args, null); } catch (IllegalArgumentException e) { catchedException = true; try { f = factory.function(IsInstanceOf.NAME.getName(), null, null); } catch (NullPointerException e) { catchedException = true;
public Element encode(Object object, Document document, Element value) throws Exception { FunctionName function = (FunctionName) object; value.appendChild(document.createTextNode(function.getName())); value.setAttributeNS("", "nArgs", function.getArgumentCount() + ""); return value; } }
@Override public void registerFunctions(Map<String, String> functions) { super.registerFunctions(functions); functions.put(FilterFunction_area.NAME.getName(), AREA_FUNCTION); }
protected void setUp() throws Exception { super.setUp(); ff = CommonFactoryFinder.getFilterFactory2(null); functionName = ModuloFunction.NAME.getName(); }
@Test public void testAllFunctionDescriptions() throws Exception { List<FunctionName> all = finder.getAllFunctionDescriptions(); assertTrue(all.size() > 0); boolean found = false; for (FunctionName name : all) { if (name.getName().equals("Interpolate")) { found = true; break; } } assertTrue("Found Interpolate", found); }
public void testParse() throws Exception { FilterMockData.functionName(document, document); FunctionName function = (FunctionName) parse(OGC.Function_NameType); assertEquals("foo", function.getName()); assertEquals(2, function.getArgumentCount()); }
public void testParse() throws Exception { FilterMockData.functionName(document, document); FunctionName function = (FunctionName) parse(OGC.FunctionNameType); assertEquals("foo", function.getName()); assertEquals(2, function.getArgumentCount()); }