MK: cosmetics
authormkoschuc
Mon, 27 Jun 2005 15:01:06 +0200
changeset 25373714a02cd330
parent 2536 f053b336f9c3
child 2538 e2aaabc27ff8
MK: cosmetics
src/java/isac/util/genhtml/GenHTML.java
     1.1 --- a/src/java/isac/util/genhtml/GenHTML.java	Mon Jun 27 15:01:06 2005 +0200
     1.2 +++ b/src/java/isac/util/genhtml/GenHTML.java	Mon Jun 27 15:01:06 2005 +0200
     1.3 @@ -68,19 +68,19 @@
     1.4          genhtml.buildHierarchy("met/heading.html");
     1.5          genhtml.buildHierarchy("met/menu_empty.html");
     1.6          genhtml.buildHierarchy("met/main.html");
     1.7 -        
     1.8 +
     1.9          genhtml.buildHierarchy("pbl/code.html");
    1.10          genhtml.buildHierarchy("pbl/index.html");
    1.11          genhtml.buildHierarchy("pbl/heading.html");
    1.12          genhtml.buildHierarchy("pbl/menu_empty.html");
    1.13          genhtml.buildHierarchy("pbl/main.html");
    1.14 -        
    1.15 +
    1.16          genhtml.buildHierarchy("exp/code.html");
    1.17          genhtml.buildHierarchy("exp/index.html");
    1.18          genhtml.buildHierarchy("exp/heading.html");
    1.19          genhtml.buildHierarchy("exp/menu_empty.html");
    1.20          genhtml.buildHierarchy("exp/main.html");
    1.21 -        
    1.22 +
    1.23          Set exp_set = genhtml.loadFileList("exp");
    1.24          Iterator exp_it = exp_set.iterator();
    1.25          int index = exp_set.size();
    1.26 @@ -114,11 +114,6 @@
    1.27              DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    1.28              DocumentBuilder db = dbf.newDocumentBuilder();
    1.29              String h_xml = InformationProcessor.loadHierarchy("", type);
    1.30 -            //StringBufferInputStream buffer = new
    1.31 -            // StringBufferInputStream(InformationProcessor.loadHierarchy("",
    1.32 -            // type));
    1.33 -            //StringBufferInputStream bufstream = new
    1.34 -            // StringBufferInputStream(buffer);
    1.35              InputSource inputsource = new InputSource(new StringReader(h_xml));
    1.36              Document document = db.parse(inputsource);
    1.37  
    1.38 @@ -170,9 +165,6 @@
    1.39                  Source xslSource = null;
    1.40                  Source xmlSource = new StreamSource(new StringReader(
    1.41                          InformationProcessor.loadHierarchy(session, type)));
    1.42 -                //		Source xmlSource = new StreamSource(InformationProcessor.
    1.43 -                //						    loadKEObject("BDialog.loadHierarchy",
    1.44 -                //								 parameter));
    1.45                  if (type.equals("pbl"))
    1.46                      xslSource = new StreamSource(
    1.47                              getClass()
    1.48 @@ -269,9 +261,6 @@
    1.49                  Vector result;
    1.50                  Source xmlSource = new StreamSource(new StringReader(
    1.51                          InformationProcessor.loadHierarchy(session_id, type)));
    1.52 -                //		  Source xmlSource = new StreamSource(InformationProcessor.
    1.53 -                //							  loadKEObject("BDialog.loadHierarchy",
    1.54 -                //								   parameter));
    1.55  
    1.56                  // Perform the transformation, sending the output to the
    1.57                  // response.
    1.58 @@ -291,9 +280,6 @@
    1.59                  Vector result;
    1.60                  Source xmlSource = new StreamSource(new StringReader(
    1.61                          InformationProcessor.loadHierarchy(session_id, type)));
    1.62 -                //			  Source xmlSource = new StreamSource(InformationProcessor.
    1.63 -                //								  loadKEObject("BDialog.loadHierarchy",
    1.64 -                //									   parameter));
    1.65  
    1.66                  // Perform the transformation, sending the output to the
    1.67                  // response.
    1.68 @@ -390,9 +376,6 @@
    1.69              out = new FileWriter(destination_ + path + ".html");
    1.70              xmlSource = new StreamSource(new StringReader(InformationProcessor
    1.71                      .loadXML(session, command, contentfile)));
    1.72 -            //		xmlSource = new
    1.73 -            // StreamSource(InformationProcessor.loadKEObject("BDialog.loadContent",
    1.74 -            // parameter));
    1.75              xslSource = new StreamSource(getClass().getResourceAsStream(
    1.76                      "/isac/util/genhtml/templates/pbl_node_content.xsl"));
    1.77              //		}