com.sun.xml.internal.fastinfoset.util.CharArrayString Java Examples
The following examples show how to use
com.sun.xml.internal.fastinfoset.util.CharArrayString.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: StAXDocumentParser.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
protected final void processProcessingII() throws FastInfosetException, IOException { _eventType = PROCESSING_INSTRUCTION; _piTarget = decodeIdentifyingNonEmptyStringOnFirstBit(_v.otherNCName); switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: _piData = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(_piData)); } break; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.processingIIWithEncodingAlgorithm")); case NISTRING_INDEX: _piData = _v.otherString.get(_integer).toString(); break; case NISTRING_EMPTY_STRING: _piData = ""; break; } }
Example #2
Source File: Decoder.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
protected final String decodeVersion() throws FastInfosetException, IOException { switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: final String data = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(data)); } return data; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.decodingNotSupported")); case NISTRING_INDEX: return _v.otherString.get(_integer).toString(); case NISTRING_EMPTY_STRING: default: return ""; } }
Example #3
Source File: StAXDocumentParser.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
protected final void processProcessingII() throws FastInfosetException, IOException { _eventType = PROCESSING_INSTRUCTION; _piTarget = decodeIdentifyingNonEmptyStringOnFirstBit(_v.otherNCName); switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: _piData = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(_piData)); } break; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.processingIIWithEncodingAlgorithm")); case NISTRING_INDEX: _piData = _v.otherString.get(_integer).toString(); break; case NISTRING_EMPTY_STRING: _piData = ""; break; } }
Example #4
Source File: Decoder.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
protected final String decodeVersion() throws FastInfosetException, IOException { switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: final String data = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(data)); } return data; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.decodingNotSupported")); case NISTRING_INDEX: return _v.otherString.get(_integer).toString(); case NISTRING_EMPTY_STRING: default: return ""; } }
Example #5
Source File: StAXDocumentParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
protected final void processProcessingII() throws FastInfosetException, IOException { _eventType = PROCESSING_INSTRUCTION; _piTarget = decodeIdentifyingNonEmptyStringOnFirstBit(_v.otherNCName); switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: _piData = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(_piData)); } break; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.processingIIWithEncodingAlgorithm")); case NISTRING_INDEX: _piData = _v.otherString.get(_integer).toString(); break; case NISTRING_EMPTY_STRING: _piData = ""; break; } }
Example #6
Source File: Decoder.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
protected final String decodeVersion() throws FastInfosetException, IOException { switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: final String data = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(data)); } return data; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.decodingNotSupported")); case NISTRING_INDEX: return _v.otherString.get(_integer).toString(); case NISTRING_EMPTY_STRING: default: return ""; } }
Example #7
Source File: StAXDocumentParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
protected final void processProcessingII() throws FastInfosetException, IOException { _eventType = PROCESSING_INSTRUCTION; _piTarget = decodeIdentifyingNonEmptyStringOnFirstBit(_v.otherNCName); switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: _piData = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(_piData)); } break; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.processingIIWithEncodingAlgorithm")); case NISTRING_INDEX: _piData = _v.otherString.get(_integer).toString(); break; case NISTRING_EMPTY_STRING: _piData = ""; break; } }
Example #8
Source File: Decoder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
protected final String decodeVersion() throws FastInfosetException, IOException { switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: final String data = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(data)); } return data; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.decodingNotSupported")); case NISTRING_INDEX: return _v.otherString.get(_integer).toString(); case NISTRING_EMPTY_STRING: default: return ""; } }
Example #9
Source File: StAXDocumentParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
protected final void processProcessingII() throws FastInfosetException, IOException { _eventType = PROCESSING_INSTRUCTION; _piTarget = decodeIdentifyingNonEmptyStringOnFirstBit(_v.otherNCName); switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: _piData = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(_piData)); } break; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.processingIIWithEncodingAlgorithm")); case NISTRING_INDEX: _piData = _v.otherString.get(_integer).toString(); break; case NISTRING_EMPTY_STRING: _piData = ""; break; } }
Example #10
Source File: Decoder.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
protected final String decodeVersion() throws FastInfosetException, IOException { switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: final String data = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(data)); } return data; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.decodingNotSupported")); case NISTRING_INDEX: return _v.otherString.get(_integer).toString(); case NISTRING_EMPTY_STRING: default: return ""; } }
Example #11
Source File: StAXDocumentParser.java From hottub with GNU General Public License v2.0 | 6 votes |
protected final void processProcessingII() throws FastInfosetException, IOException { _eventType = PROCESSING_INSTRUCTION; _piTarget = decodeIdentifyingNonEmptyStringOnFirstBit(_v.otherNCName); switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: _piData = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(_piData)); } break; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.processingIIWithEncodingAlgorithm")); case NISTRING_INDEX: _piData = _v.otherString.get(_integer).toString(); break; case NISTRING_EMPTY_STRING: _piData = ""; break; } }
Example #12
Source File: Decoder.java From hottub with GNU General Public License v2.0 | 6 votes |
protected final String decodeVersion() throws FastInfosetException, IOException { switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: final String data = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(data)); } return data; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.decodingNotSupported")); case NISTRING_INDEX: return _v.otherString.get(_integer).toString(); case NISTRING_EMPTY_STRING: default: return ""; } }
Example #13
Source File: StAXDocumentParser.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
protected final void processProcessingII() throws FastInfosetException, IOException { _eventType = PROCESSING_INSTRUCTION; _piTarget = decodeIdentifyingNonEmptyStringOnFirstBit(_v.otherNCName); switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: _piData = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(_piData)); } break; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.processingIIWithEncodingAlgorithm")); case NISTRING_INDEX: _piData = _v.otherString.get(_integer).toString(); break; case NISTRING_EMPTY_STRING: _piData = ""; break; } }
Example #14
Source File: Decoder.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
protected final String decodeVersion() throws FastInfosetException, IOException { switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: final String data = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(data)); } return data; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.decodingNotSupported")); case NISTRING_INDEX: return _v.otherString.get(_integer).toString(); case NISTRING_EMPTY_STRING: default: return ""; } }
Example #15
Source File: StAXDocumentParser.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
protected final void processProcessingII() throws FastInfosetException, IOException { _eventType = PROCESSING_INSTRUCTION; _piTarget = decodeIdentifyingNonEmptyStringOnFirstBit(_v.otherNCName); switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: _piData = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(_piData)); } break; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.processingIIWithEncodingAlgorithm")); case NISTRING_INDEX: _piData = _v.otherString.get(_integer).toString(); break; case NISTRING_EMPTY_STRING: _piData = ""; break; } }
Example #16
Source File: Decoder.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
protected final String decodeVersion() throws FastInfosetException, IOException { switch(decodeNonIdentifyingStringOnFirstBit()) { case NISTRING_STRING: final String data = new String(_charBuffer, 0, _charBufferLength); if (_addToTable) { _v.otherString.add(new CharArrayString(data)); } return data; case NISTRING_ENCODING_ALGORITHM: throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.decodingNotSupported")); case NISTRING_INDEX: return _v.otherString.get(_integer).toString(); case NISTRING_EMPTY_STRING: default: return ""; } }