Logo Search packages:      
Sourcecode: jericho-html version File versions  Download package

String au::id::jericho::lib::html::CharacterEntityReference::getCharacterReferenceString (  )  [inline, virtual]

Returns the correct encoded form of this character entity reference.

Note that the returned string is not necessarily the same as the original source text used to create this object. This library recognises certain invalid forms of character references, as detailed in the decode(String encodedString) method.

To retrieve the original source text, use the toString() method instead.

Example:
CharacterReference.parse("&amp;GT").getCharacterReferenceString() returns "<code>&amp;gt;</code>"

Returns:
the correct encoded form of this character entity reference.
See also:
CharacterReference::getCharacterReferenceString(int codePoint)

Implements au::id::jericho::lib::html::CharacterReference.

Definition at line 934 of file CharacterEntityReference.java.

Referenced by getCharacterReferenceString().

                                                  {
            return getCharacterReferenceString(name);
      }


Generated by  Doxygen 1.6.0   Back to index