Package org.jostraca.section

Examples of org.jostraca.section.SectionSet



  protected void processImpl( Template pTemplate ) throws Exception {
    Template    template   = pTemplate;
    PropertySet tmps       = pTemplate.getMergedPropertySet();
    SectionSet  sectionSet = template.getSectionSet();

    WriterFormat wf = makeWriterFormat( tmps );

    modifySections( wf.getSource(), sectionSet, tmps );
View Full Code Here


  // interface UnitProcessor

  /** @see org.jostraca.unit.UnitProcessor */
  public SectionSet process( UnitList pUnitList ) throws UnitException {
    return process( pUnitList, new SectionSet() );
  }
View Full Code Here


  /** @see org.jostraca.unit.UnitProcessor */
  public SectionSet process( UnitList pUnitList, SectionSet pSectionSet ) throws UnitException {
    if( ErrorUtil.is_null( pSectionSet, "pSectionSet" ) ) {
      iSectionSet = new SectionSet();
    }
    else {
      iSectionSet = pSectionSet;
    }

View Full Code Here

    ps.load( Tools.findRelativeSystemPath("src/org/jostraca/unit/test/test.conf") );

    BasicUnitProcessor bup = new BasicUnitProcessor();
    bup.setPropertySet( ps );

    SectionSet ss = bup.process( bus );

    System.out.println( ss );
  }
View Full Code Here

    bus.add( new BasicUnit( "text",    "foo", "foot02" ) );
    bus.add( new BasicUnit( "script""foo", "foos02" ) );


    DebugUnitProcessor dup = new DebugUnitProcessor();
    SectionSet ss = dup.process( bus );

    System.out.println( ss );
  }
View Full Code Here

TOP

Related Classes of org.jostraca.section.SectionSet

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.