| 程序包 | 说明 |
|---|---|
| com.github.jsontemplate | |
| com.github.jsontemplate.modelbuild | |
| com.github.jsontemplate.valueproducer |
| 限定符和类型 | 方法和说明 |
|---|---|
JsonTemplate |
JsonTemplate.withValueProducer(IValueProducer valueProducer)
Registers a node producer.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
BasePropertyDeclaration.buildChildrenJsonTemplate(JsonBuilder builder,
Map<String,IValueProducer> producerMap,
Map<String,JsonNode> typeMap,
Map<String,JsonNode> variableMap,
String defaultTypeName,
DefaultBuildHandler defaultHandler) |
void |
BasePropertyDeclaration.buildJsonTemplate(JsonBuilder builder,
Map<String,IValueProducer> producerMap,
Map<String,JsonNode> typeMap,
Map<String,JsonNode> variableMap,
String defaultTypeName,
DefaultBuildHandler defaultHandler) |
protected JsonNode |
BasePropertyDeclaration.buildNodeFromProducer(Map<String,IValueProducer> producerMap) |
protected void |
BasePropertyDeclaration.handleComposite(JsonBuilder builder,
Map<String,IValueProducer> producerMap,
Map<String,JsonNode> typeMap,
Map<String,List<JsonWrapperNode>> missTypeMap,
Map<String,JsonNode> variableMap) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractValueProducer<T extends JsonNode> |
class |
Base64ValueProducer
This class produces a
JsonStringNode which can generate an
base64 string. |
class |
BooleanValueProducer
This class produces a
JsonBooleanNode which can generate json boolean value. |
class |
FloatValueProducer
This class produces a
JsonFloatNode which can generate json numeric(float) value. |
class |
IntegerValueProducer
This class produces a
JsonIntegerNode which can generate json numeric(integer) value. |
class |
Ipv6ValueProducer
This class produces a
JsonStringNode which can generate an
ip string. |
class |
IpValueProducer
This class produces a
JsonStringNode which can generate an
ipv6 string. |
class |
RawStringValueProducer
This class produces a
JsonRawNode which prints the content
of the given string without quotes. |
class |
SmartValueProducer
This is the default type in JsonTemplate.
|
class |
StringValueProducer
This class produces a
JsonStringNode which can generate json string value. |
Copyright © 2019. All rights reserved.