MCPcopy Create free account
hub / github.com/GateNLP/gate-core / doState12

Method doState12

src/main/java/gate/sgml/Sgml2Xml.java:415–426  ·  view source on GitHub ↗

Here we read the element's name ...this is an end tag Stays here while reads a char

(char currChar)

Source from the content-addressed store, hash-verified

413 * Stays here while reads a char
414 */
415 private void doState12(char currChar) {
416 if ('>' == currChar){
417 elemNameEnd = m_cursor - 1;
418 elemName = m_modifier.substring(elemNameStart,elemNameEnd);
419 performActionWithEndElem(elemName);
420 m_currState = 1;
421 }
422 if (isWhiteSpace(currChar)){
423 m_currState = 13;
424 elemNameEnd = m_cursor - 1;
425 }
426 }//doState12
427
428 /**
429 * If '>' -> state 1

Callers 1

convertMethod · 0.95

Calls 2

isWhiteSpaceMethod · 0.95

Tested by

no test coverage detected