public abstract class JsonProperties extends Object
Modifier and Type | Method and Description |
---|---|
void |
addProp(String name,
org.codehaus.jackson.JsonNode value)
Adds a property with the given name name and
value value.
|
void |
addProp(String name,
String value)
Adds a property with the given name name and
value value.
|
org.codehaus.jackson.JsonNode |
getJsonProp(String name)
Returns the value of the named property in this schema.
|
Map<String,org.codehaus.jackson.JsonNode> |
getJsonProps()
Return the defined properties as an unmodifieable Map.
|
String |
getProp(String name)
Returns the value of the named, string-valued property in this schema.
|
Map<String,String> |
getProps()
Deprecated.
|
public String getProp(String name)
public org.codehaus.jackson.JsonNode getJsonProp(String name)
public void addProp(String name, String value)
name
- The name of the property to addvalue
- The value for the property to addpublic void addProp(String name, org.codehaus.jackson.JsonNode value)
name
- The name of the property to addvalue
- The value for the property to add@Deprecated public Map<String,String> getProps()
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.