Xml entity en/decoder.
Example usage:
import ocean.text.entities.XmlEntityCodec; scope entity_codec = new XmlEntityCodec; char[] test = "hello & world © >Ȱ'"; if ( entity_codec.containsUnencoded(test) ) { char[] encoded; entity_codec.encode(test, encoded); }
Class to en/decode xml entities.
Unit test
See Source File
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).
Copyright (c) 2009-2016 dunnhumby Germany GmbH. All rights reserved.
Xml entity en/decoder.
Example usage: