| Package | Description |
|---|---|
| net.morimekta.providence | |
| net.morimekta.providence.descriptor | |
| net.morimekta.providence.serializer | |
| net.morimekta.providence.util |
| Modifier and Type | Method and Description |
|---|---|
PDescriptor |
PValue.descriptor() |
| Modifier and Type | Class and Description |
|---|---|
class |
PContainer<I,C>
Generic descriptor for a container type.
|
class |
PDeclaredDescriptor<T>
Descriptor for a declared type.
|
class |
PEnumDescriptor<T extends PEnumValue<T>>
The definition of a thrift enum.
|
class |
PExceptionDescriptor<T extends PMessage<T>,F extends PField>
The definition of a thrift exception.
|
class |
PList<I> |
class |
PMap<K,V> |
class |
PPrimitive<T>
Descriptors for primitive types.
|
class |
PSet<I> |
class |
PStructDescriptor<T extends PMessage<T>,F extends PField>
The definition of a thrift structure.
|
class |
PUnionDescriptor<T extends PMessage<T>,F extends PField>
The definition of a thrift union.
|
| Modifier and Type | Method and Description |
|---|---|
PDescriptor<T> |
PDescriptorProvider.descriptor() |
PDescriptor<V> |
PField.getDescriptor() |
PDescriptor<I> |
PContainer.itemDescriptor() |
PDescriptor<K> |
PMap.keyDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PJsonSerializer.appendTypedValue(net.morimekta.util.json.JsonWriter writer,
PDescriptor type,
Object value) |
<T> T |
PJsonSerializer.deserialize(InputStream input,
PDescriptor<T> type) |
<T> T |
PBinarySerializer.deserialize(InputStream input,
PDescriptor<T> descriptor) |
abstract <T> T |
PSerializer.deserialize(InputStream input,
PDescriptor<T> descriptor) |
<T> T |
PProtoSerializer.deserialize(InputStream input,
PDescriptor<T> descriptor) |
<T> T |
PFastBinarySerializer.deserialize(InputStream is,
PDescriptor<T> descriptor) |
protected Object |
PJsonSerializer.parseMapKey(String key,
PDescriptor keyType) |
protected <T> T |
PJsonSerializer.parseTypedValue(net.morimekta.util.json.JsonToken token,
net.morimekta.util.json.JsonTokenizer tokenizer,
PDescriptor<T> t) |
protected <T> T |
PProtoSerializer.readFieldValue(net.morimekta.util.io.BinaryReader in,
int type,
PDescriptor<T> descriptor)
Read a field value from stream.
|
protected <T> T |
PFastBinarySerializer.readFieldValue(net.morimekta.util.io.BinaryReader in,
int type,
PDescriptor<T> descriptor)
Read a field value from stream.
|
protected <T> T |
PBinarySerializer.readFieldValue(net.morimekta.util.io.BinaryReader in,
PBinarySerializer.FieldInfo fieldInfo,
PDescriptor<T> type)
Read a field value from stream.
|
<T> int |
PJsonSerializer.serialize(OutputStream output,
PDescriptor<T> descriptor,
T value) |
<T> int |
PBinarySerializer.serialize(OutputStream output,
PDescriptor<T> descriptor,
T value) |
abstract <T> int |
PSerializer.serialize(OutputStream output,
PDescriptor<T> descriptor,
T value) |
<T> int |
PProtoSerializer.serialize(OutputStream output,
PDescriptor<T> descriptor,
T value) |
<T> int |
PFastBinarySerializer.serialize(OutputStream os,
PDescriptor<T> descriptor,
T value) |
protected int |
PProtoSerializer.writeFieldValue(net.morimekta.util.io.BinaryWriter out,
int tag,
PDescriptor<?> descriptor,
Object value)
Write a field value to stream.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
PTypeUtils.equalsQualifiedName(PDescriptor a,
PDescriptor b) |
static boolean |
PTypeUtils.equalsQualifiedName(PDescriptor a,
PDescriptor b) |
Copyright © 2016. All rights reserved.