lowerboundary.java
来自「world wind java sdk 源码」· Java 代码 · 共 42 行
JAVA
42 行
/*
Copyright (C) 2001, 2008 United States Government as represented by
the Administrator of the National Aeronautics and Space Administration.
All Rights Reserved.
*/
package gov.nasa.worldwind.applications.gio.filter;
import gov.nasa.worldwind.applications.gio.xml.Element;
import gov.nasa.worldwind.applications.gio.xml.xmlns;
import gov.nasa.worldwind.util.Logging;
/**
* @author dcollins
* @version $Id: LowerBoundary.java 5517 2008-07-15 23:36:34Z dcollins $
*/
public class LowerBoundary extends Element
{
public LowerBoundary()
{
super(xmlns.ogc, "LowerBoundary");
}
public Element addExpression(Expression expression) throws Exception
{
if (expression == null)
{
String message = "nullValue.ExpressionIsNull";
Logging.logger().severe(message);
throw new IllegalArgumentException(message);
}
if (!(expression instanceof Element))
{
String message = "nullValue.ExpressionIsNotAnElement";
Logging.logger().severe(message);
throw new IllegalArgumentException(message);
}
addElement((Element) expression);
return (Element) expression;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?