Lines Matching defs:sourceStart
1104 * Text starting a "sourceStart" is copied into "destination" starting at "targetStart".
1107 * The "sourceStart" argument must be greater or equal to 0 and less than or equal to
1108 * the number of characters associated with the event. Usually, one requests text starting at a "sourceStart" of 0.
1116 * for ( int sourceStart = 0 ; ; sourceStart += length )
1118 * int nCopied = stream.getTextCharacters( sourceStart, myBuffer, 0, length );
1128 * @param sourceStart the index of the first character in the source array to copy
1139 public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException {
1145 if(targetStart < 0 || length < 0 || sourceStart < 0 || targetStart >= target.length ||
1150 //getTextStart() + sourceStart should not be greater than the lenght of number of characters
1153 //int presentDataLen = getTextLength() - (getTextStart()+sourceStart);
1154 int available = getTextLength() - sourceStart;
1156 throw new IndexOutOfBoundsException("sourceStart is greater than" +
1165 System.arraycopy(getTextCharacters(), getTextStart() + sourceStart , target, targetStart, copiedLength);