org.tinygroup.metadata.constants.impl
类 ConstantsProcessorImpl

java.lang.Object
  继承者 org.tinygroup.metadata.constants.impl.ConstantsProcessorImpl
所有已实现的接口:
ConstantProcessor

public class ConstantsProcessorImpl
extends Object
implements ConstantProcessor


构造方法摘要
ConstantsProcessorImpl()
           
 
方法摘要
 void addConstants(Constants constants)
          添加常量
 boolean getBooleanValue(String name)
           
 byte getByteValue(String name)
          value必须是数字
 char getCharValue(String name)
           
static ConstantProcessor getConstantProcessor()
           
 double getDoubleValue(String name)
           
 float getFloatValue(String name)
           
 int getIntValue(String name)
          返回常量值
 long getLongValue(String id)
           
 short getShortValue(String name)
           
 String getStringValue(String id)
           
 void removeConstants(Constants constants)
          移除常量
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ConstantsProcessorImpl

public ConstantsProcessorImpl()
方法详细信息

getConstantProcessor

public static ConstantProcessor getConstantProcessor()

getBooleanValue

public boolean getBooleanValue(String name)
指定者:
接口 ConstantProcessor 中的 getBooleanValue

getDoubleValue

public double getDoubleValue(String name)
指定者:
接口 ConstantProcessor 中的 getDoubleValue

getFloatValue

public float getFloatValue(String name)
指定者:
接口 ConstantProcessor 中的 getFloatValue

getCharValue

public char getCharValue(String name)
指定者:
接口 ConstantProcessor 中的 getCharValue

getShortValue

public short getShortValue(String name)
指定者:
接口 ConstantProcessor 中的 getShortValue

getByteValue

public byte getByteValue(String name)
value必须是数字

指定者:
接口 ConstantProcessor 中的 getByteValue

getLongValue

public long getLongValue(String id)
指定者:
接口 ConstantProcessor 中的 getLongValue

getStringValue

public String getStringValue(String id)
指定者:
接口 ConstantProcessor 中的 getStringValue

getIntValue

public int getIntValue(String name)
从接口 ConstantProcessor 复制的描述
返回常量值

指定者:
接口 ConstantProcessor 中的 getIntValue
返回:

addConstants

public void addConstants(Constants constants)
从接口 ConstantProcessor 复制的描述
添加常量

指定者:
接口 ConstantProcessor 中的 addConstants

removeConstants

public void removeConstants(Constants constants)
从接口 ConstantProcessor 复制的描述
移除常量

指定者:
接口 ConstantProcessor 中的 removeConstants


Copyright © 2006–2016 TinyGroup. All rights reserved.