MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / push

Method push

src/org/kxml2/io/KXmlParser.java:585–596  ·  view source on GitHub ↗
(int c)

Source from the content-addressed store, hash-verified

583 */
584
585 private final void push(int c) {
586
587 isWhitespace &= c <= ' ';
588
589 if (txtPos == txtBuf.length) {
590 char[] bigger = new char[txtPos * 4 / 3 + 4];
591 System.arraycopy(txtBuf, 0, bigger, 0, txtPos);
592 txtBuf = bigger;
593 }
594
595 txtBuf[txtPos++] = (char) c;
596 }
597
598 /** Sets name and attributes */
599

Callers 6

nextImplMethod · 0.95
parseLegacyMethod · 0.95
parseDoctypeMethod · 0.95
pushEntityMethod · 0.95
pushTextMethod · 0.95
readNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected