C# 클래스 NVelocity.Tool.DataInfo

ToolInfo implementation to handle "primitive" data types. It currently supports String, Number, and Boolean data. *
상속: IToolInfo
파일 보기 프로젝트 열기: rasmus-toftdahl-olesen/NVelocity

공개 프로퍼티들

프로퍼티 타입 설명
TYPE_BOOLEAN String
TYPE_NUMBER String
TYPE_STRING String

공개 메소드들

메소드 설명
DataInfo ( String key, String type, String value ) : System

Parses the value string into a recognized type. If the type specified is not supported, the data will be held and returned as a string. *

getInstance ( Object initData ) : Object

Returns the data. Always returns the same object since the data is a constant. Initialization data is ignored.

메소드 상세

DataInfo() 공개 메소드

Parses the value string into a recognized type. If the type specified is not supported, the data will be held and returned as a string. *
public DataInfo ( String key, String type, String value ) : System
key String the context key for the data ///
type String the data type ///
value String the data /// ///
리턴 System

getInstance() 공개 메소드

Returns the data. Always returns the same object since the data is a constant. Initialization data is ignored.
public getInstance ( Object initData ) : Object
initData Object
리턴 Object

프로퍼티 상세

TYPE_BOOLEAN 공개적으로 정적으로 프로퍼티

public static String TYPE_BOOLEAN
리턴 String

TYPE_NUMBER 공개적으로 정적으로 프로퍼티

public static String TYPE_NUMBER
리턴 String

TYPE_STRING 공개적으로 정적으로 프로퍼티

public static String TYPE_STRING
리턴 String