Class ValueDecoderFactory.QNameDecoder
java.lang.Object
org.codehaus.stax2.typed.TypedValueDecoder
org.codehaus.stax2.ri.typed.ValueDecoderFactory.DecoderBase
org.codehaus.stax2.ri.typed.ValueDecoderFactory.QNameDecoder
- Enclosing class:
ValueDecoderFactory
- Since:
- 3.0
-
Field Summary
FieldsFields inherited from class ValueDecoderFactory.DecoderBase
mNextPtr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(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.voidMethod used to invoke decoding functionality, for decoding the value encoded in given substring.getType()getValue()protected QNameresolveQName(String localName) protected QNameresolveQName(String prefix, String localName) Methods inherited from class ValueDecoderFactory.DecoderBase
_clean, constructInvalidValue, constructInvalidValue, handleEmptyValue, lexicalDesc, lexicalDesc, parseInt, parseInt, parseInt, parseInt, parseLong, parseLong, skipSignAndZeroes, skipSignAndZeroes, verifyDigits, verifyDigits
-
Field Details
-
mValue
-
-
Constructor Details
-
QNameDecoder
-
-
Method Details
-
getType
- Specified by:
getTypein classValueDecoderFactory.DecoderBase
-
getValue
-
decode
Description copied from class:TypedValueDecoderMethod used to invoke decoding functionality, for decoding the value encoded in given substring. 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.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)- Specified by:
decodein classTypedValueDecoder- Throws:
IllegalArgumentException
-
decode
Description copied from class:TypedValueDecoderMethod 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.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)- Specified by:
decodein classTypedValueDecoder- Throws:
IllegalArgumentException
-
resolveQName
- Throws:
IllegalArgumentException
-
resolveQName
- Throws:
IllegalArgumentException
-