Package | Description |
---|---|
org.jboss.dmr.stream |
Dynamic Model Representation (DMR) Streaming API for reading and writing DMR documents.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelWriter.close()
Free resources associated with this writer.
|
void |
ModelReader.close()
Free resources associated with this reader.
|
ModelEvent |
ModelReader.next()
Returns next DMR parsing event.
|
ModelWriter |
ModelWriter.writeBigDecimal(BigDecimal data)
Writes DMR
number . |
ModelWriter |
ModelWriter.writeBigInteger(BigInteger data)
Writes DMR
number . |
ModelWriter |
ModelWriter.writeBoolean(boolean data)
Writes DMR
true or false token. |
ModelWriter |
ModelWriter.writeBytes(byte[] data)
Writes DMR
bytes . |
ModelWriter |
ModelWriter.writeDouble(double data)
Writes DMR
number . |
ModelWriter |
ModelWriter.writeExpression(String data)
Writes DMR
expression . |
ModelWriter |
ModelWriter.writeInt(int data)
Writes DMR
number . |
ModelWriter |
ModelWriter.writeListEnd()
Writes DMR
list end token. |
ModelWriter |
ModelWriter.writeListStart()
Writes DMR
list start token. |
ModelWriter |
ModelWriter.writeLong(long data)
Writes DMR
number . |
ModelWriter |
ModelWriter.writeObjectEnd()
Writes DMR
object end token. |
ModelWriter |
ModelWriter.writeObjectStart()
Writes DMR
object start token. |
ModelWriter |
ModelWriter.writePropertyEnd()
Writes DMR
property end token. |
ModelWriter |
ModelWriter.writePropertyStart()
Writes DMR
property start token. |
ModelWriter |
ModelWriter.writeString(String data)
Writes DMR
string . |
ModelWriter |
ModelWriter.writeType(ModelType data)
Writes DMR
type . |
ModelWriter |
ModelWriter.writeUndefined()
Writes DMR
undefined token. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.