public class XMLEntityCodec extends AbstractCharacterCodec
| 构造器和说明 |
|---|
XMLEntityCodec() |
| 限定符和类型 | 方法和说明 |
|---|---|
Character |
decodeCharacter(PushbackSequence<Character> input)
Returns the decoded version of the next character from the input string and
advances the current character in the PushbackSequence.
|
String |
encodeCharacter(char[] immune,
Character c)
WARNING!!!!
|
decodecontainsCharacter, encode, encodeCharacter, encodeCharacter, getHexForNonAlphanumeric, getHexForNonAlphanumeric, toHex, toHex, toOctalpublic String encodeCharacter(char[] immune, Character c)
encodeCharacter 在接口中 Codec<Character>encodeCharacter 在类中 AbstractCodec<Character>immune - characters that should not be encoded as entitiesc - the Character to encodemethod instead of this one!!! YOU HAVE
BEEN WARNED!!!!
{@inheritDoc}public Character decodeCharacter(PushbackSequence<Character> input)
decodeCharacter 在接口中 Codec<Character>decodeCharacter 在类中 AbstractCodec<Character>input - the Character to decodeCopyright © 2023. All rights reserved.