Package descent.core.ddoc.DdocSection

Examples of descent.core.ddoc.DdocSection.Parameter


          }
          continue;
        }
       
        if (currentParameterName != null) {
          parameters.add(new Parameter(currentParameterName, currentParameterText.toString()));
          currentParameterText.setLength(0);
        }
       
        currentParameterName = line.substring(0, equalsIndex).trim();
        currentParameterText.append(line.substring(equalsIndex + 1).trim());
View Full Code Here


  }
 
  private void addCurrentSection() {
    if (parameters != null) {
      if (currentParameterName != null) {
        parameters.add(new Parameter(currentParameterName, currentParameterText.toString()));
      }
      ddoc.addSection(new DdocSection(currentSectionName, currentSectionType,
        currentSectionText.toString().trim(), parameters.toArray(new Parameter[parameters.size()])));
    } else {
      ddoc.addSection(new DdocSection(currentSectionName, currentSectionType,
View Full Code Here

TOP

Related Classes of descent.core.ddoc.DdocSection.Parameter

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.