BUG-1440: include gson codec in feature

This updates the feature file to include the yang-data-codec-gson.

Change-Id: I48183547ba70a5f3d866dd9e5e694863d0607a2a
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1440: remove unused imports

These were leftover by previous changes.

Change-Id: I2750f0895fd7fbccb419167eb8e474fc18d26234
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1440: cache codecs

Building a codec up is a bit expensive, so let's cache the objects while
we're decoding them.

Change-Id: I0697d018fe3937b8caf97518fd7a5d22ba832c51
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1440: speedup namespace resolution

Use char lookup instead of string.

Change-Id: I0ed71b9c317cafe3847680cb861136cd0258499e
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1440: speedup namespace/localname splitting

Instead of using splitters, perform just normal lookups.

Change-Id: I0876d8784c35e1911985293c010afcdf8484793e
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1440: fix a few typos

Change-Id: I8e1526a67a746006e9c6200d68ca26303846c547
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1441: implement XMLStreamNormalizedNodeStreamWriter

Introduces a direct NormalizedNode/XMLStreamWriter binding component.

Change-Id: I01acd9f9d9e8c70b3f4cbe796ae2f948073f94f4
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1440: speed up LoggingNormalizedNodeStreamWriter

Precompute indent string as we go, saving some object instantiations.

Change-Id: Ie591417d28066140e99d7718d19d926d1e863d1f
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1440: add documentation

Change-Id: I67f2ca3e03216afeb8a4b80105d72347c5a4719c
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1440: add documentation and update API

Cleans up the API defition, making it slightly easier to understand.

Change-Id: I0bc3b486ec6bc88eea226a6fe39a346775b9e2bc
Signed-off-by: Robert Varga <rovarga@cisco.com>
Merge changes I0bc3b486,I67f2ca3e,Ie591417d,I01acd9f9,I8e1526a6,I0876d878,I0ed71b9c,I0697d018,I2750f089,I48183547

* changes:
  BUG-1440: add documentation and update API
  BUG-1440: add documentation
  BUG-1440: speed up LoggingNormalizedNodeStreamWriter
  BUG-1441: implement XMLStreamNormalizedNodeStreamWriter
  BUG-1440: fix a few typos
  BUG-1440: speedup namespace/localname splitting
  BUG-1440: speedup namespace resolution
  BUG-1440: cache codecs
  BUG-1440: remove unused imports
  BUG-1440: include gson codec in feature