Package | Description |
---|---|
org.jboss.dmr | |
org.jboss.dmr.stream |
Dynamic Model Representation (DMR) Streaming API for reading and writing DMR documents.
|
Modifier and Type | Method and Description |
---|---|
ModelType |
ModelNode.asType()
Get the value of this node as a type, expressed using the
ModelType enum. |
ModelType |
ModelNode.getType()
Get the current type of this node.
|
static ModelType |
ModelType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelType[] |
ModelType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ModelNode |
ModelNode.set(ModelType newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(String propertyName,
ModelType propertyValue)
Change this node's value to a property with the given name and value.
|
Constructor and Description |
---|
ModelNode(ModelType value)
Creates a new
ModelNode with the given value . |
Modifier and Type | Method and Description |
---|---|
ModelType |
ModelReader.getType()
Converts available context data to
model type . |
Modifier and Type | Method and Description |
---|---|
ModelWriter |
ModelWriter.writeType(ModelType data)
Writes DMR
type . |
Copyright © 2018 JBoss by Red Hat. All rights reserved.