Index

A C D E F G H I L M O P S T V 
All Classes and Interfaces|All Packages|Serialized Form

A

add(AnyData) - Method in class dxt.moe.model.LinearData
 
ANYCASE - Enum constant in enum class dxt.moe.app.Moe.Options
 
AnyData - Class in dxt.moe.model
A class that can hold any of the three data types: SimpleData, LinearData, or MappedData.
AnyData(LinearData) - Constructor for class dxt.moe.model.AnyData
 
AnyData(MappedData) - Constructor for class dxt.moe.model.AnyData
 
AnyData(SimpleData) - Constructor for class dxt.moe.model.AnyData
 
asLinear() - Method in class dxt.moe.model.AnyData
 
asMapped() - Method in class dxt.moe.model.AnyData
 
asSimple() - Method in class dxt.moe.model.AnyData
 

C

CodecException - Exception Class in dxt.moe.app
 
CodecException(String, String) - Constructor for exception class dxt.moe.app.CodecException
 
CodecException(String, String, Throwable) - Constructor for exception class dxt.moe.app.CodecException
 
CodecException(String, Throwable) - Constructor for exception class dxt.moe.app.CodecException
 
contains(String) - Method in class dxt.moe.model.MappedData
 
convert() - Method in interface dxt.moe.app.Internal
 
convert(boolean) - Method in interface dxt.moe.app.Internal
 
convert(AnyData) - Method in interface dxt.moe.codec.MoeEncoder
Encodes the supplied data using the default formatting.
convert(AnyData, boolean) - Method in interface dxt.moe.codec.MoeEncoder
Encodes the supplied data, optionally formatting the output for readability.
convert(Class) - Method in interface dxt.moe.app.External
 
convert(String, Class) - Method in interface dxt.moe.app.External
 
ConvertException - Exception Class in dxt.moe.app
Signals a failure while converting data between model classes and plain Java objects.
ConvertException(String, String, String, Throwable) - Constructor for exception class dxt.moe.app.ConvertException
 
create() - Static method in class dxt.moe.app.Moe
Creates an instance of Moe using the ServiceLoader mechanism.
create(Moe.Options...) - Static method in class dxt.moe.app.Moe
Creates an instance of Moe using the ServiceLoader mechanism and populates it with the given options.

D

decode(List) - Method in interface dxt.moe.codec.MoeDecoder
 
DECODE_IGNORE_MISSING - Enum constant in enum class dxt.moe.app.Moe.Options
 
decoder() - Method in interface dxt.moe.codec.MoeCodec
Returns a decoder for the format supported by this provider.
dxt.moe.app - package dxt.moe.app
 
dxt.moe.codec - package dxt.moe.codec
 
dxt.moe.model - package dxt.moe.model
 

E

encoder() - Method in interface dxt.moe.codec.MoeCodec
Returns an encoder for the format supported by this provider.
external(String) - Method in class dxt.moe.app.Moe
Returns an instance of External for the given format.
External - Interface in dxt.moe.app
Context for external data sources, such as a byte array or an inputstream.

F

from(byte[]) - Method in interface dxt.moe.app.External
 
from(InputStream) - Method in interface dxt.moe.app.External
 
from(Object) - Method in interface dxt.moe.app.Internal
 

G

get(int) - Method in class dxt.moe.model.LinearData
 
get(String) - Method in class dxt.moe.model.MappedData
 
getBoolean() - Method in class dxt.moe.model.SimpleData
 
getCodecName() - Method in exception class dxt.moe.app.CodecException
 
getFormat() - Method in interface dxt.moe.codec.MoeCodec
Returns the identifier of the format supported by this provider (e.g., "JSON", "XML").
getKeys() - Method in class dxt.moe.model.MappedData
 
getMethod() - Method in exception class dxt.moe.app.ConvertException
 
getModel() - Method in interface dxt.moe.app.External
 
getModel() - Method in interface dxt.moe.app.Internal
 
getNumber() - Method in class dxt.moe.model.SimpleData
 
getString() - Method in class dxt.moe.model.SimpleData
 
getType() - Method in exception class dxt.moe.app.ConvertException
 

H

hasPath(String) - Method in interface dxt.moe.app.External
 

I

internal(String) - Method in class dxt.moe.app.Moe
Returns an instance of Internal for the given format.
Internal - Interface in dxt.moe.app
Context for internal data sources, such as a Java object.

L

LinearData - Class in dxt.moe.model
A simple linear data structure that stores a list of AnyData objects.
LinearData() - Constructor for class dxt.moe.model.LinearData
 

M

MapFrom - Annotation Interface in dxt.moe.app
Annotation to specify the source field name in the data model for a method in a class.
MappedData - Class in dxt.moe.model
A simple data structure that maps string keys to AnyData values.
MappedData() - Constructor for class dxt.moe.model.MappedData
 
MapTo - Annotation Interface in dxt.moe.app
Annotation to specify the target field name in the data model corresponding to the data from a method in a Java class.
Moe - Class in dxt.moe.app
 
Moe() - Constructor for class dxt.moe.app.Moe
 
Moe.Options - Enum Class in dxt.moe.app
Defined options for Moe instances.
MoeCodec - Interface in dxt.moe.codec
Supplies the format identifier and format-specific codec components for a supported external data format.
MoeDecoder - Interface in dxt.moe.codec
 
MoeEncoder - Interface in dxt.moe.codec
Encodes data into the byte representation of a supported format.
MoeException - Exception Class in dxt.moe.app
The base exception class for all exceptions thrown by the Moe library.
MoeException(String) - Constructor for exception class dxt.moe.app.MoeException
Constructs a new MoeException with the specified detail message.
MoeException(String, Throwable) - Constructor for exception class dxt.moe.app.MoeException
Constructs a new MoeException with the specified detail message and cause.
MoeException(Throwable) - Constructor for exception class dxt.moe.app.MoeException
Constructs a new MoeException with the specified cause.

O

options(Moe.Options...) - Method in class dxt.moe.app.Moe
Populates an instance of Moe with the given options.

P

put(String, AnyData) - Method in class dxt.moe.model.MappedData
 

S

setSource(byte[]) - Method in interface dxt.moe.codec.MoeDecoder
 
setSource(InputStream) - Method in interface dxt.moe.codec.MoeDecoder
 
SimpleData - Class in dxt.moe.model
A simple data type that can hold a string, number, or boolean value.
SimpleData(Boolean) - Constructor for class dxt.moe.model.SimpleData
 
SimpleData(Number) - Constructor for class dxt.moe.model.SimpleData
 
SimpleData(String) - Constructor for class dxt.moe.model.SimpleData
 
size() - Method in class dxt.moe.model.LinearData
 

T

toString() - Method in class dxt.moe.model.SimpleData
 

V

value() - Element in annotation interface dxt.moe.app.MapFrom
 
value() - Element in annotation interface dxt.moe.app.MapTo
 
valueOf(String) - Static method in enum class dxt.moe.app.Moe.Options
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dxt.moe.app.Moe.Options
Returns an array containing the constants of this enum class, in the order they are declared.
A C D E F G H I L M O P S T V 
All Classes and Interfaces|All Packages|Serialized Form