A C D F G I J K L M N R S T U V W 
All Classes All Packages

A

add(G, K, V) - Method in interface com.cognitect.transit.MapReader
Adds a key and value to the map, returning a new map; new map must be used for any further invocations
add(G, T) - Method in interface com.cognitect.transit.ArrayReader
Adds an item to the result, returning a new result; new result must be used for any further invocations
arrayReader() - Method in interface com.cognitect.transit.ArrayReadHandler
Provides an ArrayReader that a parser can use to convert an array representation to an instance of a type incrementally
ArrayReader<G,​A,​T> - Interface in com.cognitect.transit
 
ArrayReadHandler<G,​A,​T,​R> - Interface in com.cognitect.transit
Provides an ArrayReader to Transit to use in incrementally parsing an array representation of a value.

C

com.cognitect.transit - package com.cognitect.transit
 
com.cognitect.transit.SPI - package com.cognitect.transit.SPI
 
complete(G) - Method in interface com.cognitect.transit.ArrayReader
Completes building of a result from a gestational result
complete(G) - Method in interface com.cognitect.transit.MapReader
Completes building of a map

D

defaultDefaultReadHandler() - Static method in class com.cognitect.transit.TransitFactory
Returns the DefaultReadHandler that is used by default
defaultDefaultWriteHandler() - Static method in class com.cognitect.transit.TransitFactory
 
DefaultReadHandler<T> - Interface in com.cognitect.transit
Processes a non-decodable transit value
defaultReadHandlers() - Static method in class com.cognitect.transit.TransitFactory
Returns a map of tags to ReadHandlers that is used by default
defaultWriteHandlers() - Static method in class com.cognitect.transit.TransitFactory
Returns a map of classes to Handlers that is used by default

F

fromRep(String, Object) - Method in interface com.cognitect.transit.DefaultReadHandler
Reads a transit representation that cannot otherwise be read
fromRep(Rep) - Method in interface com.cognitect.transit.ReadHandler
Converts a transit value to an instance of a type

G

getDenominator() - Method in interface com.cognitect.transit.Ratio
Gets the denominator
getHref() - Method in interface com.cognitect.transit.Link
Get the link's href
getName() - Method in interface com.cognitect.transit.Link
Get the link's name
getName() - Method in interface com.cognitect.transit.Named
Gets the name
getNamespace() - Method in interface com.cognitect.transit.Named
Gets the namespace
getNumerator() - Method in interface com.cognitect.transit.Ratio
Gets the numerator
getPrompt() - Method in interface com.cognitect.transit.Link
Get the link's prompt
getRel() - Method in interface com.cognitect.transit.Link
Get the link's rel
getRender() - Method in interface com.cognitect.transit.Link
Get the link's render semantic
getRep() - Method in interface com.cognitect.transit.TaggedValue
Gets the representation of the value
getTag() - Method in interface com.cognitect.transit.TaggedValue
Gets the tag
getValue() - Method in interface com.cognitect.transit.Ratio
The value of the ratio as double
getValue() - Method in interface com.cognitect.transit.Symbol
Gets the value of the symbol, a string
getValue() - Method in interface com.cognitect.transit.URI
Gets the String value of the URI
getVerboseHandler() - Method in interface com.cognitect.transit.WriteHandler
Gets an alternative handler which provides more readable representations for use in verbose mode; can return null

I

init() - Method in interface com.cognitect.transit.ArrayReader
Initializes a new gestational result
init() - Method in interface com.cognitect.transit.MapReader
Initializes a new (gestational) map
init(int) - Method in interface com.cognitect.transit.ArrayReader
Initializes a new gestational result of specified size
init(int) - Method in interface com.cognitect.transit.MapReader
Initializes a new (gestational) map of specified size

J

JSON - com.cognitect.transit.TransitFactory.Format
 
JSON_VERBOSE - com.cognitect.transit.TransitFactory.Format
 

K

keyword(Object) - Static method in class com.cognitect.transit.TransitFactory
Converts a string or keyword to a keyword
Keyword - Interface in com.cognitect.transit
Represents a keyword N.B.

L

link(URI, String) - Static method in class com.cognitect.transit.TransitFactory
Creates a Link
link(URI, String, String, String, String) - Static method in class com.cognitect.transit.TransitFactory
Creates a Link
link(String, String) - Static method in class com.cognitect.transit.TransitFactory
Creates a Link
link(String, String, String, String, String) - Static method in class com.cognitect.transit.TransitFactory
Creates a Link
Link - Interface in com.cognitect.transit
Represents a hypermedia link, as per http://amundsen.com/media-types/collection/format/#arrays-links

M

mapReader() - Method in interface com.cognitect.transit.MapReadHandler
Provides a MapReader that a parser can use to convert a map representation to an instance of a type incrementally
MapReader<G,​M,​K,​V> - Interface in com.cognitect.transit
 
MapReadHandler<G,​A,​K,​V,​R> - Interface in com.cognitect.transit
Provides a MapReader to Transit to use in incrementally parsing a map representation of a value.
MSGPACK - com.cognitect.transit.TransitFactory.Format
 

N

Named - Interface in com.cognitect.transit
Represents a namespace-scoped named object

R

Ratio - Interface in com.cognitect.transit
Represents a ratio using BigIntegers
read() - Method in interface com.cognitect.transit.Reader
Reads a single value from an input source
reader(TransitFactory.Format, InputStream) - Static method in class com.cognitect.transit.TransitFactory
Creates a reader instance.
reader(TransitFactory.Format, InputStream, DefaultReadHandler<?>) - Static method in class com.cognitect.transit.TransitFactory
Creates a reader instance.
reader(TransitFactory.Format, InputStream, Map<String, ReadHandler<?, ?>>) - Static method in class com.cognitect.transit.TransitFactory
Creates a reader instance.
reader(TransitFactory.Format, InputStream, Map<String, ReadHandler<?, ?>>, DefaultReadHandler<?>) - Static method in class com.cognitect.transit.TransitFactory
Creates a reader instance.
Reader - Interface in com.cognitect.transit
Interface for reading values in transit format
ReaderSPI - Interface in com.cognitect.transit.SPI
Interface for providing custom MapReader and ArrayReader implementations for a Reader to use when parsing native JSON or msgpack composite structures.
ReadHandler<T,​Rep> - Interface in com.cognitect.transit
Converts a transit representation to an instance of a type; if type implements ArrayReadHandler or MapReadHandler to support incremental parsing of representation, that interface will be used instead
readHandlerMap(Map<String, ReadHandler<?, ?>>) - Static method in class com.cognitect.transit.TransitFactory
Creates a read-only Map of String to ReadHandler containing default ReadHandlers with customHandlers merged in.
rep(T) - Method in interface com.cognitect.transit.WriteHandler
Gets the representation to use for the object, either an instance of transit ground type, or object for which there is a Handler (including an instance of TaggedValue).

S

setBuilders(MapReader<?, Map<Object, Object>, Object, Object>, ArrayReader<?, List<Object>, Object>) - Method in interface com.cognitect.transit.SPI.ReaderSPI
Specifies a custom MapReader and ArrayReader to use when parsing native maps and arrays in JSON or msgpack.
stringRep(T) - Method in interface com.cognitect.transit.WriteHandler
Gets the string representation to use for the object; can return null
symbol(Object) - Static method in class com.cognitect.transit.TransitFactory
Converts a string or a symbol to a symbol
Symbol - Interface in com.cognitect.transit
Represents a symbol

T

tag(T) - Method in interface com.cognitect.transit.WriteHandler
Gets the tag to use for the object
taggedValue(String, T) - Static method in class com.cognitect.transit.TransitFactory
Creates a TaggedValue
TaggedValue<Rep> - Interface in com.cognitect.transit
Represents a transit tag and value.
TransitFactory - Class in com.cognitect.transit
Main entry point for using transit-java library.
TransitFactory() - Constructor for class com.cognitect.transit.TransitFactory
 
TransitFactory.Format - Enum in com.cognitect.transit
Transit formats

U

uri(String) - Static method in class com.cognitect.transit.TransitFactory
Creates a URI
URI - Interface in com.cognitect.transit
Represents a URI as a String.

V

valueOf(String) - Static method in enum com.cognitect.transit.TransitFactory.Format
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.cognitect.transit.TransitFactory.Format
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(T) - Method in interface com.cognitect.transit.Writer
Writes a single value to an output stream
WriteHandler<T,​Rep> - Interface in com.cognitect.transit
Converts an instance of an type to a transit representation
writeHandlerMap(Map<Class, WriteHandler<?, ?>>) - Static method in class com.cognitect.transit.TransitFactory
Creates a read-only Map of Class to WriteHandler containing default WriteHandlers with customHandlers merged in.
writer(TransitFactory.Format, OutputStream) - Static method in class com.cognitect.transit.TransitFactory
Creates a writer instance.
writer(TransitFactory.Format, OutputStream, WriteHandler<?, ?>) - Static method in class com.cognitect.transit.TransitFactory
Creates a writer instance.
writer(TransitFactory.Format, OutputStream, Map<Class, WriteHandler<?, ?>>) - Static method in class com.cognitect.transit.TransitFactory
Creates a writer instance.
writer(TransitFactory.Format, OutputStream, Map<Class, WriteHandler<?, ?>>, WriteHandler<?, ?>) - Static method in class com.cognitect.transit.TransitFactory
Creates a writer instance.
writer(TransitFactory.Format, OutputStream, Map<Class, WriteHandler<?, ?>>, WriteHandler<?, ?>, Function<Object, Object>) - Static method in class com.cognitect.transit.TransitFactory
Creates a writer instance.
Writer<T> - Interface in com.cognitect.transit
Interface for writing values in transit format.
A C D F G I J K L M N R S T U V W 
All Classes All Packages