src/main/java/org/helm/notation2/parser/connectionsection/BetweenInlineConnectionParser.java
@Override
  public void doAction(char cha) throws ConnectionSectionException {
    /* new connection is starting */
    if (cha == '|') {
      LOG.info("A new connection is starting:");
      _parser.setState(new ConnectionsParser(_parser));
    } /* grouping section is starting */ else if (cha == '$') {
      LOG.info("Transition to group section");
      LOG.info("Group section is starting:");
      _parser.setState(new GroupingParser(_parser));
    } /* invalid character */ else {
      LOG.error("Invalid character after inline annotation in connection section: " + cha);
      throw new ConnectionSectionException("Invalid character after inline annotation in connection section: " + cha);
    }

  }
@Override
  public void doAction(char cha) throws ConnectionSectionException {
    /* new connection is starting */
    if (cha == '|') {
      LOG.info("A new connection is starting:");
      _parser.setState(new ConnectionsParser(_parser));
    } /* grouping section is starting */ else if (cha == '$') {
      LOG.info("Transition to group section");
      LOG.info("Group section is starting:");
      _parser.setState(new GroupingParser(_parser));
    } /* invalid character */ else {
      LOG.error("Invalid character after inline annotation in connection section: " + cha);
      throw new ConnectionSectionException("Invalid character after inline annotation in connection section: " + cha);
    }

  }
@ Override public void doAction ( char cha ) throws ConnectionSectionException { /* new connection is starting */ if ( cha == ' ' ) { LOG . info ( "A new connection is starting:" ) ; _parser . setState ( new ConnectionsParser ( _parser ) ) ; } /* grouping section is starting */ else if ( cha == ' ' ) { LOG . info ( "Transition to group section" ) ; LOG . info ( "Group section is starting:" ) ; _parser . setState ( new GroupingParser ( _parser ) ) ; } /* invalid character */ else { LOG . error ( "Invalid character after inline annotation in connection section: " + cha ) ; throw new ConnectionSectionException ( "Invalid character after inline annotation in connection section: " + cha ) ; } }
{@inheritDoc}
{