public static final class ValueDecoderFactory.QNameDecoder extends ValueDecoderFactory.DecoderBase
Modifier and Type | Field and Description |
---|---|
protected QName |
mValue |
mNextPtr
Constructor and Description |
---|
ValueDecoderFactory.QNameDecoder(NamespaceContext nsc) |
Modifier and Type | Method and Description |
---|---|
void |
decode(char[] lexical,
int start,
int end)
Method used to invoke decoding functionality, for decoding
the value encoded in given portion of character array
It is to try decoding value, and either store decoded value
for later access (using method(s) caller knows about), or
throw an exception to indicate problem encountered.
|
void |
decode(String lexical)
Method used to invoke decoding functionality, for decoding
the value encoded in given substring.
|
String |
getType() |
QName |
getValue() |
protected QName |
resolveQName(String localName) |
protected QName |
resolveQName(String prefix,
String localName) |
_clean, constructInvalidValue, constructInvalidValue, handleEmptyValue, lexicalDesc, lexicalDesc, parseInt, parseInt, parseInt, parseInt, parseLong, parseLong, skipSignAndZeroes, skipSignAndZeroes, verifyDigits, verifyDigits
protected QName mValue
public ValueDecoderFactory.QNameDecoder(NamespaceContext nsc)
public String getType()
getType
in class ValueDecoderFactory.DecoderBase
public QName getValue()
public void decode(String lexical) throws IllegalArgumentException
TypedValueDecoder
Note: method will get called with "trimmed" input, i.e. input
will never have any leading or trailing white space.
It will also never be called with empty content
(TypedValueDecoder.handleEmptyValue()
is called instead for such cases)
decode
in class TypedValueDecoder
IllegalArgumentException
public void decode(char[] lexical, int start, int end) throws IllegalArgumentException
TypedValueDecoder
Note: method will get called with "trimmed" input, i.e. input
will never have any leading or trailing white space.
It will also never be called with empty content
(TypedValueDecoder.handleEmptyValue()
is called instead for such cases)
decode
in class TypedValueDecoder
IllegalArgumentException
protected QName resolveQName(String localName) throws IllegalArgumentException
IllegalArgumentException
protected QName resolveQName(String prefix, String localName) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2012-2015 fasterxml.com. All Rights Reserved.