• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java NilExpression类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中org.opengis.filter.expression.NilExpression的典型用法代码示例。如果您正苦于以下问题:Java NilExpression类的具体用法?Java NilExpression怎么用?Java NilExpression使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

NilExpression类属于org.opengis.filter.expression包,在下文中一共展示了NilExpression类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: populate

点赞 3

import org.opengis.filter.expression.NilExpression; //导入依赖的package包/类
/**
 * Populate.
 *
 * @param expression the expression
 */
public void populate(Expression expression) {
    if (expression != null) {
        populateAttributeComboxBox(expression);

        if ((expression == null) || (expression instanceof NilExpression)
                || (expression instanceof ConstantExpression)
                || (expression instanceof LiteralExpressionImpl)) {
            valuePanel.populateExpression(expression);
        } else if (expression instanceof AttributeExpressionImpl) {
            setAttribute(expression);
        } else {
            expressionPanel.populateExpression(expression);
        }
    }
}
 

开发者ID:robward-scisys,
项目名称:sldeditor,
代码行数:21,
代码来源:AttributeSelection.java

示例2: populateAttributeComboxBox

点赞 3

import org.opengis.filter.expression.NilExpression; //导入依赖的package包/类
/**
 * Populate.
 *
 * @param expression the expression
 */
public void populateAttributeComboxBox(Expression expression) {

    String panelName;

    // Clear out any old values
    expressionPanel.populateExpression(null);
    dataSourceAttributePanel.setAttribute(null);

    if (expression == null) {
        panelName = ValueSubPanel.getPanelName();
    } else if (expression instanceof NilExpression) {
        panelName = ValueSubPanel.getPanelName();
    } else if (expression instanceof ConstantExpression) {
        panelName = ValueSubPanel.getPanelName();
    } else if (expression instanceof LiteralExpressionImpl) {
        panelName = ValueSubPanel.getPanelName();
    } else if (expression instanceof AttributeExpressionImpl) {
        panelName = DataSourceAttributePanel.getPanelName();
    } else {
        panelName = ExpressionSubPanel.getPanelName();
    }

    oldValueObj = panelName;
    attributeChooserComboBox.setSelectedItem(panelName);
}
 

开发者ID:robward-scisys,
项目名称:sldeditor,
代码行数:31,
代码来源:AttributeSelection.java

示例3: visit

点赞 2

import org.opengis.filter.expression.NilExpression; //导入依赖的package包/类
@Override
public Object visit(
		final NilExpression expression,
		final Object data ) {
	return new ExtractGeometryFilterVisitorResult(
			infinity(),
			null);
}
 

开发者ID:locationtech,
项目名称:geowave,
代码行数:9,
代码来源:ExtractGeometryFilterVisitor.java

示例4: visit

点赞 2

import org.opengis.filter.expression.NilExpression; //导入依赖的package包/类
public Object visit(NilExpression expression, Object extraData) {
    field = null;
    return extraData;
}
 

开发者ID:ngageoint,
项目名称:elasticgeo,
代码行数:5,
代码来源:FilterToElastic.java

示例5: testNilFilter

点赞 2

import org.opengis.filter.expression.NilExpression; //导入依赖的package包/类
@Test
public void testNilFilter() {
    builder.field = "field";
    builder.visit((NilExpression) NilExpression.NIL, null);
    assertTrue(builder.field == null);
}
 

开发者ID:ngageoint,
项目名称:elasticgeo,
代码行数:7,
代码来源:ElasticFilterTest.java

示例6: visit

点赞 2

import org.opengis.filter.expression.NilExpression; //导入依赖的package包/类
@Override
public Object visit(NilExpression ne, Object o) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
 

开发者ID:DennisPallett,
项目名称:gt-jdbc-monetdb-simple,
代码行数:5,
代码来源:FilterToSQL.java

示例7: visit

点赞 2

import org.opengis.filter.expression.NilExpression; //导入依赖的package包/类
@Override
public Object visit(
		final NilExpression expression,
		final Object data ) {
	return new TemporalConstraints();
}
 

开发者ID:locationtech,
项目名称:geowave,
代码行数:7,
代码来源:ExtractTimeFilterVisitor.java

示例8: visit

点赞 2

import org.opengis.filter.expression.NilExpression; //导入依赖的package包/类
@Override
public Object visit(
		final NilExpression expression,
		final Object data ) {
	return new PropertyConstraintSet();
}
 

开发者ID:locationtech,
项目名称:geowave,
代码行数:7,
代码来源:PropertyFilterVisitor.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)