/** * Method that will get next character, and either return it as is (for * normal chars), or expand parameter entity that starts with next * character (which has to be '%'). */ private char getNextExpanded() throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c != '%') { return c; } expandPE(); } }
private char skipDtdWs(boolean handlePEs) throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c > CHAR_SPACE) { if (c == '%' && handlePEs) { expandPE(); continue; } return c; } if (c == '\n' || c == '\r') { skipCRLF(c); } else if (c != CHAR_SPACE && c != '\t') { throwInvalidSpace(c); } } }
expandPE(); } else if (c > CHAR_SPACE) { break;
/** * Method that will get next character, and either return it as is (for * normal chars), or expand parameter entity that starts with next * character (which has to be '%'). */ private char getNextExpanded() throws IOException, XMLStreamException { while (true) { char c = (mInputPtr < mInputLen) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c != '%') { return c; } expandPE(); } }
/** * Method that will get next character, and either return it as is (for * normal chars), or expand parameter entity that starts with next * character (which has to be '%'). */ private char getNextExpanded() throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c != '%') { return c; } expandPE(); } }
/** * Method that will get next character, and either return it as is (for * normal chars), or expand parameter entity that starts with next * character (which has to be '%'). */ private char getNextExpanded() throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c != '%') { return c; } expandPE(); } }
/** * Method that will get next character, and either return it as is (for * normal chars), or expand parameter entity that starts with next * character (which has to be '%'). */ private char getNextExpanded() throws IOException, XMLStreamException { while (true) { char c = (mInputPtr < mInputLen) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c != '%') { return c; } expandPE(); } }
/** * Method that will get next character, and either return it as is (for * normal chars), or expand parameter entity that starts with next * character (which has to be '%'). */ private char getNextExpanded() throws IOException, XMLStreamException { while (true) { char c = (mInputPtr < mInputLen) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c != '%') { return c; } expandPE(); } }
/** * Method that will get next character, and either return it as is (for * normal chars), or expand parameter entity that starts with next * character (which has to be '%'). */ private char getNextExpanded() throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c != '%') { return c; } expandPE(); } }
/** * Method that will get next character, and either return it as is (for * normal chars), or expand parameter entity that starts with next * character (which has to be '%'). */ private char getNextExpanded() throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c != '%') { return c; } expandPE(); } }
private char skipDtdWs(boolean handlePEs) throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c > CHAR_SPACE) { if (c == '%' && handlePEs) { expandPE(); continue; } return c; } if (c == '\n' || c == '\r') { skipCRLF(c); } else if (c != CHAR_SPACE && c != '\t') { throwInvalidSpace(c); } } }
private char skipDtdWs(boolean handlePEs) throws IOException, XMLStreamException { while (true) { char c = (mInputPtr < mInputLen) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c > CHAR_SPACE) { if (c == '%' && handlePEs) { expandPE(); continue; } return c; } if (c == '\n' || c == '\r') { skipCRLF(c); } else if (c != CHAR_SPACE && c != '\t') { throwInvalidSpace(c); } } }
private char skipDtdWs(boolean handlePEs) throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c > CHAR_SPACE) { if (c == '%' && handlePEs) { expandPE(); continue; } return c; } if (c == '\n' || c == '\r') { skipCRLF(c); } else if (c != CHAR_SPACE && c != '\t') { throwInvalidSpace(c); } } }
private char skipDtdWs(boolean handlePEs) throws IOException, XMLStreamException { while (true) { char c = (mInputPtr < mInputLen) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c > CHAR_SPACE) { if (c == '%' && handlePEs) { expandPE(); continue; } return c; } if (c == '\n' || c == '\r') { skipCRLF(c); } else if (c != CHAR_SPACE && c != '\t') { throwInvalidSpace(c); } } }
private char skipDtdWs(boolean handlePEs) throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c > CHAR_SPACE) { if (c == '%' && handlePEs) { expandPE(); continue; } return c; } if (c == '\n' || c == '\r') { skipCRLF(c); } else if (c != CHAR_SPACE && c != '\t') { throwInvalidSpace(c); } } }
private char skipDtdWs(boolean handlePEs) throws IOException, XMLStreamException { while (true) { char c = (mInputPtr < mInputLen) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c > CHAR_SPACE) { if (c == '%' && handlePEs) { expandPE(); continue; } return c; } if (c == '\n' || c == '\r') { skipCRLF(c); } else if (c != CHAR_SPACE && c != '\t') { throwInvalidSpace(c); } } }
private char skipDtdWs(boolean handlePEs) throws XMLStreamException { while (true) { char c = (mInputPtr < mInputEnd) ? mInputBuffer[mInputPtr++] : getNextChar(getErrorMsg()); if (c > CHAR_SPACE) { if (c == '%' && handlePEs) { expandPE(); continue; } return c; } if (c == '\n' || c == '\r') { skipCRLF(c); } else if (c != CHAR_SPACE && c != '\t') { throwInvalidSpace(c); } } }