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

Method doState9

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

Here we prepare to read another attrib, value pair (any char -> state 5) If '>' we just read a beggining tag -> state 1 Stay here while read WS

(char currChar)

Source from the content-addressed store, hash-verified

362 * Stay here while read WS
363 */
364 private void doState9(char currChar){
365 if ('>' == currChar){
366 // go to state 1
367 m_currState = 1;
368
369 // add the object to the stack
370 performFinalAction(elemName, m_cursor - 1);
371 }
372 if (('>' != currChar) && !isWhiteSpace(m_currChar)){
373 // this is the same as state 4->5
374 m_currState = 5;
375 attrStart = m_cursor - 1;
376 }
377 }//doState9
378
379 /**
380 * If any C -> state 4

Callers 1

convertMethod · 0.95

Calls 2

performFinalActionMethod · 0.95
isWhiteSpaceMethod · 0.95

Tested by

no test coverage detected