C# Класс NVelocity.Tool.DataInfo

ToolInfo implementation to handle "primitive" data types. It currently supports String, Number, and Boolean data. *
Наследование: IToolInfo
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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