Modifier and Type | Field and Description |
---|---|
static ModelNode |
Validation.SCHEMA_DEFINITION |
Modifier and Type | Method and Description |
---|---|
ModelNode |
ModelNode.add()
Add a node to the end of this node's value list and return it.
|
ModelNode |
ModelNode.add(java.math.BigDecimal newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.math.BigInteger newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(boolean newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(byte[] newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(double newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(int newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(long newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(ModelNode newValue)
Add a copy of the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(Property property)
Add a property to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
java.math.BigDecimal propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
java.math.BigInteger propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
boolean propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
byte[] propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
double propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
int propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
long propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
ModelNode propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
java.lang.String propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
ValueExpression propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(ValueExpression newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.addEmptyList()
Add a node of type
ModelType.LIST to the end of this node's value list and return it. |
ModelNode |
ModelNode.addEmptyObject()
Add a node of type
ModelType.OBJECT to the end of this node's value list and return it. |
ModelNode |
ModelNode.addExpression(java.lang.String newValue)
Deprecated.
Use
add(ValueExpression) instead. |
ModelNode |
ModelNode.asObject()
Get a copy of this value as an object.
|
ModelNode |
ModelNode.clear()
Clear this node's value and change its type to
ModelType.UNDEFINED . |
ModelNode |
ModelNode.clone()
Clone this model node.
|
protected ModelNode |
JSONParserImpl.finishList(ModelNode list) |
protected ModelNode |
JSONParserImpl.finishObject(ModelNode object) |
static ModelNode |
ModelNode.fromBase64(java.io.InputStream stream)
Reads base64 data from the passed stream,
and deserializes the decoded result.
|
static ModelNode |
ModelNode.fromJSONStream(java.io.InputStream stream)
Get a model node from a JSON text representation of the model node.
|
static ModelNode |
ModelNode.fromJSONString(java.lang.String input) |
static ModelNode |
ModelNode.fromStream(java.io.InputStream stream)
Get a model node from a text representation of the model node.
|
static ModelNode |
ModelNode.fromString(java.lang.String input)
Get a model node from a string representation of the model node.
|
ModelNode |
ModelNode.get(int index)
Get the child of this node with the given index.
|
ModelNode |
ModelNode.get(java.lang.String... names)
Recursively get the children of this node with the given names.
|
ModelNode |
ModelNode.get(java.lang.String name)
Get the child of this node with the given name.
|
ModelNode |
JSONParserImpl.getResult() |
ModelNode |
Property.getValue() |
protected ModelNode |
JSONParserImpl.parseBigDecimal(java.lang.String arg) |
protected ModelNode |
JSONParserImpl.parseDecInt(java.lang.String arg) |
protected ModelNode |
JSONParserImpl.parseEmptyList() |
protected ModelNode |
JSONParserImpl.parseEmptyObject() |
protected ModelNode |
JSONParserImpl.parseFalse() |
protected ModelNode |
JSONParserImpl.parseHex(java.lang.String arg) |
protected ModelNode |
JSONParserImpl.parseHexSigned(java.lang.String arg) |
protected ModelNode |
JSONParserImpl.parseInf(java.lang.String arg) |
protected ModelNode |
JSONParserImpl.parseListItem(ModelNode list,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseNaN() |
protected ModelNode |
JSONParserImpl.parseObjectItem(ModelNode object,
java.lang.String key,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseOctal(java.lang.String arg) |
protected ModelNode |
JSONParserImpl.parseStartList(ModelNode child) |
protected ModelNode |
JSONParserImpl.parseStartObject(java.lang.String key,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseString(java.lang.String arg) |
protected ModelNode |
JSONParserImpl.parseTrue() |
protected ModelNode |
JSONParserImpl.parseUndefined() |
protected ModelNode |
JSONParserImpl.parseZero() |
ModelNode |
ModelNode.remove(java.lang.String name)
Remove a child of this node, returning the child.
|
ModelNode |
ModelNode.require(int index)
Require the existence of a child of this node with the given index, returning the child.
|
ModelNode |
ModelNode.require(java.lang.String name)
Require the existence of a child of this node with the given name, returning the child.
|
ModelNode |
ModelNode.resolve()
Return a copy of this model node, with all values of type
ModelType.EXPRESSION locally resolved. |
ModelNode |
ModelNode.set(java.math.BigDecimal newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(java.math.BigInteger newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(boolean newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(byte[] newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(java.util.Collection<ModelNode> newValue)
Change this node's value to a list whose values are copied from the given collection.
|
ModelNode |
ModelNode.set(double newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(int newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(long newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(ModelNode newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(ModelType newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(Property newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(java.lang.String newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
java.math.BigDecimal propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
java.math.BigInteger propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
boolean propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
byte[] propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
double propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
int propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
long propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
ModelNode propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
ModelType propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
java.lang.String propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
ValueExpression propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(ValueExpression newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.setEmptyList()
Change this node's value to an empty list.
|
ModelNode |
ModelNode.setEmptyObject()
Change this node's value to an empty object.
|
ModelNode |
ModelNode.setExpression(java.lang.String newValue)
Deprecated.
Use
set(ValueExpression) instead. |
ModelNode |
ModelNode.setExpression(java.lang.String propertyName,
java.lang.String propertyValue)
Deprecated.
Use
set(String,ValueExpression) instead. |
Modifier and Type | Method and Description |
---|---|
java.util.List<ModelNode> |
ModelNode.asList()
Get the list of entries contained in this object.
|
Modifier and Type | Method and Description |
---|---|
ModelNode |
ModelNode.add(ModelNode newValue)
Add a copy of the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(java.lang.String propertyName,
ModelNode propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
boolean |
ModelNode.equals(ModelNode other)
Determine whether this object is equal to another.
|
protected ModelNode |
JSONParserImpl.finishList(ModelNode list) |
protected ModelNode |
JSONParserImpl.finishObject(ModelNode object) |
protected int |
JSONParserImpl.parse(ModelNode node) |
protected ModelNode |
JSONParserImpl.parseListItem(ModelNode list,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseObjectItem(ModelNode object,
java.lang.String key,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseStartList(ModelNode child) |
protected ModelNode |
JSONParserImpl.parseStartObject(java.lang.String key,
ModelNode child) |
ModelNode |
ModelNode.set(ModelNode newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
ModelNode propertyValue)
Change this node's value to a property with the given name and value.
|
static void |
Validation.validate(ModelNode schema,
java.lang.String rootType) |
Modifier and Type | Method and Description |
---|---|
ModelNode |
ModelNode.set(java.util.Collection<ModelNode> newValue)
Change this node's value to a list whose values are copied from the given collection.
|
Constructor and Description |
---|
Property(java.lang.String name,
ModelNode value) |
Copyright © 2013 JBoss, a division of Red Hat, Inc.