Package org.jostraca.util

Examples of org.jostraca.util.RegExpMatch


      pTemplateActionHandler.setDefaultSection( Section.NAME_body );
    }

    // set default section to first argument, and put everything else into that section
    else {
      RegExpMatch match = doRegExpMatchArguments( pArguments );

      if( match.hasMatch() ) {
        String sectionName = match.matchFirstSub();
        String content     = match.matchSecondSub();

        pTemplateActionHandler.setDefaultSection( sectionName );

        // REVIEW: this is deprecated
        pTemplateActionHandler.append( content );
View Full Code Here



  /** perform reg exp */
  private RegExpMatch doRegExpMatchArguments( String pContent ) throws DirectiveException {
    try {
      RegExpMatch match = iRegExpMatchArguments.matchFirst( pContent );
      return match;
    }
    catch( RegExpException e ) {
      throw new DirectiveException
        ( DirectiveException.CODE_regexp_mismatch, e.getMessage(),
View Full Code Here

TOP

Related Classes of org.jostraca.util.RegExpMatch

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.