Package | Description |
---|---|
org.jboss.dmr.stream |
Dynamic Model Representation (DMR) Streaming API for reading and writing DMR documents.
|
Modifier and Type | Method and Description |
---|---|
ModelWriter |
ModelStreamFactory.newModelWriter(OutputStream stream)
Creates new DMR writer with
UTF-8 character set. |
ModelWriter |
ModelStreamFactory.newModelWriter(OutputStream stream,
Charset charset)
Creates new DMR writer with specified character set.
|
ModelWriter |
ModelStreamFactory.newModelWriter(Writer writer)
Creates new DMR writer.
|
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 © 2017 JBoss by Red Hat. All rights reserved.