public class Document
extends java.lang.Object
implements com.exalead.flea.FleaMessage
Modifier and Type | Class and Description |
---|---|
static class |
Document.Fields |
Modifier and Type | Field and Description |
---|---|
java.util.List<Directive> |
directives |
int |
flag |
java.util.List<Meta> |
metas |
java.util.List<Part> |
parts |
java.lang.String |
source |
java.lang.String |
stamp |
java.lang.String |
uri |
Constructor and Description |
---|
Document() |
Document(byte[] b) |
Document(Document origMessage) |
Document(com.exalead.flea.FleaInputStream cis) |
Document(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
static Document |
deserialize(byte[] data) |
void |
fleaDeserialize(byte[] b) |
void |
fleaDeserialize(com.exalead.flea.FleaInputStream cis) |
byte[] |
fleaSerialize() |
void |
fleaSerialize(com.exalead.flea.FleaOutputStream cos) |
void |
fleaSerialize(com.exalead.flea.FleaOutputStream cos,
boolean closeObject) |
java.lang.String |
toJSON(int baseIndentLevel) |
java.lang.String |
toString() |
Document |
withDirectives(java.util.List<Directive> directives) |
Document |
withFlag(int flag) |
Document |
withMetas(java.util.List<Meta> metas) |
Document |
withParts(java.util.List<Part> parts) |
Document |
withSource(java.lang.String source) |
Document |
withStamp(java.lang.String stamp) |
Document |
withUri(java.lang.String uri) |
public java.lang.String source
public java.lang.String uri
public java.lang.String stamp
public int flag
public java.util.List<Directive> directives
public java.util.List<Meta> metas
public java.util.List<Part> parts
public Document()
public Document(Document origMessage)
public Document(com.exalead.flea.FleaInputStream cis) throws java.io.IOException
java.io.IOException
public Document(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public Document(byte[] b) throws java.io.IOException
java.io.IOException
public Document withSource(java.lang.String source)
public Document withUri(java.lang.String uri)
public Document withStamp(java.lang.String stamp)
public Document withFlag(int flag)
public void fleaSerialize(com.exalead.flea.FleaOutputStream cos, boolean closeObject) throws java.io.IOException
java.io.IOException
public void fleaSerialize(com.exalead.flea.FleaOutputStream cos) throws java.io.IOException
fleaSerialize
in interface com.exalead.flea.FleaMessage
java.io.IOException
public byte[] fleaSerialize() throws java.io.IOException
fleaSerialize
in interface com.exalead.flea.FleaMessage
java.io.IOException
public void fleaDeserialize(com.exalead.flea.FleaInputStream cis) throws java.io.IOException
fleaDeserialize
in interface com.exalead.flea.FleaMessage
java.io.IOException
public void fleaDeserialize(byte[] b) throws java.io.IOException
fleaDeserialize
in interface com.exalead.flea.FleaMessage
java.io.IOException
public static Document deserialize(byte[] data) throws java.io.IOException
java.io.IOException
public java.lang.String toJSON(int baseIndentLevel)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013 Dassault Systèmes, All Rights Reserved.