| Package | Description |
|---|---|
| us.bpsm.edn |
This package provides the classes (not already provided by Java)
needed to represent edn values.
|
| us.bpsm.edn.parser |
This package provides a Parser for edn.
|
| Modifier and Type | Method and Description |
|---|---|
Tag |
TaggedValue.getTag()
Returns this TaggedValue's tag, which is never null.
|
static Tag |
Tag.newTag(String name)
This is equivalent to
newTag("", name). |
static Tag |
Tag.newTag(String prefix,
String name)
Provide a Tag with the given prefix and name.
|
static Tag |
Tag.newTag(Symbol sym)
Return a Tag with the same prefix and name as
sym. |
| Modifier and Type | Method and Description |
|---|---|
int |
Tag.compareTo(Tag o) |
static TaggedValue |
TaggedValue.newTaggedValue(Tag tag,
Object value)
Return a tagged value for the given tag and value (some edn data).
|
| Modifier and Type | Field and Description |
|---|---|
static Tag |
Parser.Config.BIG_DECIMAL_TAG
Floating point literals which are marked by a trailing "M"
are initially parsed as
BigDecimal. |
static Tag |
Parser.Config.BIG_INTEGER_TAG
Integer literals marked by a trailing "N", and those not so
marked which lie outside the range of a
Long are
initially parsed as BigInteger. |
static Tag |
Parser.Config.DOUBLE_TAG
Floating point literals not marked by a trailing "M" are
initially parsed as
Double. |
static Tag |
Parser.Config.EDN_INSTANT
This is the
#inst tag specified by edn. |
static Tag |
Parser.Config.EDN_UUID
This is the
#uuid tag specified by edn. |
static Tag |
Parser.Config.LONG_TAG
Integer literals which lie inside the range of a
Long and are not marked by a trailing "N" are initially
parsed as Long. |
| Modifier and Type | Method and Description |
|---|---|
TagHandler |
Parser.Config.getTagHandler(Tag tag)
Return the
TagHandler associated with the given
Tag, or null. |
Parser.Config.Builder |
Parser.Config.Builder.putTagHandler(Tag tag,
TagHandler handler)
Register
handler as the handler to be called
with tag is encountered by the parser. |
Object |
TagHandler.transform(Tag tag,
Object originalValue)
Consume
originalValue, which is some edn value,
returning the value to replace it. |
Object |
AbstractInstantHandler.transform(Tag tag,
Object value) |
Copyright © 2019. All rights reserved.