Examples of addPara()


Examples of org.dspace.app.xmlui.wing.element.Division.addPara()

        }
        else
        {
            ReferenceSet referenceSet = div.addReferenceSet("narf",ReferenceSet.TYPE_DETAIL_VIEW);
            referenceSet.addReference(item);
            div.addPara().addButton("showsimple").setValue(T_showsimple);
           
            div.addHidden("showfull").setValue("true");
        }
       
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Division.addPara()

      Division edit = body.addInteractiveDivision("eperson-edit",contextPath+"/admin/epeople",Division.METHOD_POST,"primary administrative eperson");
      edit.setHead(T_head1);
     
     
      if (errors.contains("eperson_email_key")) {
        Para problem = edit.addPara();
        problem.addHighlight("bold").addContent(T_email_taken);
      }
       
     
        List identity = edit.addList("form",List.TYPE_FORM);
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Division.addPara()

      div.setHead(message(header));
    else
      div.setHead(T_head);

    if (message != null && message.length() > 0)
      div.addPara(message(message));
   
    if (characters != null && characters.length() > 0)
      div.addPara(characters);
  }
}
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Division.addPara()

    if (message != null && message.length() > 0)
      div.addPara(message(message));
   
    if (characters != null && characters.length() > 0)
      div.addPara(characters);
  }
}
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Division.addPara()

   
   
        // DIVISION: metadata-registry-main
    Division main = body.addInteractiveDivision("metadata-registry-main",contextPath+"/admin/metadata-registry",Division.METHOD_POST,"primary administrative metadata-registry ");
    main.setHead(T_head1);
    main.addPara(T_para1);
   
    Table table = main.addTable("metadata-registry-main-table", schemas.length+1, 5);
   
    Row header = table.addRow(Row.ROLE_HEADER);
    header.addCellContent(T_column1);
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Division.addPara()

      row.addCell().addXref(url,name);
    }
    if (schemas.length > 1)
    {
      // Only give the delete option if there are more schema's than the required dublin core.
      main.addPara().addButton("submit_delete").setValue(T_submit_delete);
    }
   
   
   
    // DIVISION: add new schema
View Full Code Here

Examples of uk.ac.cam.ch.wwmm.ptclib.scixml.SciXMLDocument.addPara()

    for(String id : ontology.getTerms().keySet()) {
      OntologyTerm term = ontology.getTerms().get(id);
      //SciXMLDocument sxd = new SciXMLDocument();
      //sxd.setTitle(term.getName());
      sxd.getNewDiv(term.getId());
      sxd.addPara().appendChild(term.getName());
     
      if(term.getDef() != null) {
        sxd.addPara().appendChild(term.getDef());
        if(term.getDef().matches(".*[Rr]eaction.*")) reacts++;
      }
View Full Code Here

Examples of uk.ac.cam.ch.wwmm.ptclib.scixml.SciXMLDocument.addPara()

      //sxd.setTitle(term.getName());
      sxd.getNewDiv(term.getId());
      sxd.addPara().appendChild(term.getName());
     
      if(term.getDef() != null) {
        sxd.addPara().appendChild(term.getDef());
        if(term.getDef().matches(".*[Rr]eaction.*")) reacts++;
      }
      termID++;
      if(termID % 100 == 0) {
        System.out.println(termID);
View Full Code Here

Examples of uk.ac.cam.ch.wwmm.ptclib.scixml.SciXMLDocument.addPara()

                XOMTools.removeElementPreservingText(e);
              }
            }
          }
         
          Element p = doc.addPara();
          Element a = doc.makeLink(request.getRequestURI() + "?toscrapbook=full", "Put in scrapbook");
          p.appendChild(a);
          p.appendChild(" ");
          a = doc.makeLink(request.getRequestURI() + "?toscrapbook=noexperimental", "Put in scrapbook (No experimental or captions)");
          p.appendChild(a);
View Full Code Here

Examples of uk.ac.cam.ch.wwmm.ptclib.scixml.SciXMLDocument.addPara()

        return;
      }
     
      SciXMLDocument doc = new SciXMLDocument();
      doc.addServerProcessingInstructions();
      Element para = doc.addPara();
      para.appendChild(doc.makeLink("/ViewPaper" + request.getPathInfo() + "?reprocess", "Reprocess this directory"));
     
      Element list = doc.addList();
     
      File [] children = f.listFiles();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.