Package java.io

Examples of java.io.OutputStreamWriter.writeEndElement()


      writer.writeEndElement(); // close meta tag
    }
    for (Entry<String, String> entry : this.metaMap.entrySet()) {
      writer.writeStartElement("meta");
      writer.writeAttribute(entry.getKey(), entry.getValue());
      writer.writeEndElement(); // close meta tag
    }
    for (Map<String, String> map : this.metaMapList) {
      writer.writeStartElement("meta");
      for (Entry<String, String> entry : map.entrySet()) {
        writer.writeAttribute(entry.getKey(), entry.getValue());
View Full Code Here


    for (Map<String, String> map : this.metaMapList) {
      writer.writeStartElement("meta");
      for (Entry<String, String> entry : map.entrySet()) {
        writer.writeAttribute(entry.getKey(), entry.getValue());
      }
      writer.writeEndElement(); // close meta tag
    }
    // write any query params back
    writer.writeStartElement("query");
    Map<String, List<String>> parameterMap = request.getParameterMap();
    for (Entry<String, List<String>> parameter : parameterMap.entrySet()) {
View Full Code Here

      }
      List<String> values = parameter.getValue();
      for (String value : values) {
        writer.writeStartElement("param");
        writer.writeAttribute(name, value);
        writer.writeEndElement(); // close param
      }
    }
    writer.writeEndElement(); // close query
    writer.writeEndElement(); // close head
    writer.writeStartElement("body");
View Full Code Here

        writer.writeStartElement("param");
        writer.writeAttribute(name, value);
        writer.writeEndElement(); // close param
      }
    }
    writer.writeEndElement(); // close query
    writer.writeEndElement(); // close head
    writer.writeStartElement("body");
    this.writeSystem(writer);
    this.loadBody(writer, request);
    writer.writeEndElement(); // close body tag
View Full Code Here

        writer.writeAttribute(name, value);
        writer.writeEndElement(); // close param
      }
    }
    writer.writeEndElement(); // close query
    writer.writeEndElement(); // close head
    writer.writeStartElement("body");
    this.writeSystem(writer);
    this.loadBody(writer, request);
    writer.writeEndElement(); // close body tag
    writer.writeEndElement(); // close root tag sc-web
View Full Code Here

    writer.writeEndElement(); // close query
    writer.writeEndElement(); // close head
    writer.writeStartElement("body");
    this.writeSystem(writer);
    this.loadBody(writer, request);
    writer.writeEndElement(); // close body tag
    writer.writeEndElement(); // close root tag sc-web
    writer.writeEndDocument();
    writer.close();
  }
View Full Code Here

    writer.writeEndElement(); // close head
    writer.writeStartElement("body");
    this.writeSystem(writer);
    this.loadBody(writer, request);
    writer.writeEndElement(); // close body tag
    writer.writeEndElement(); // close root tag sc-web
    writer.writeEndDocument();
    writer.close();
  }

  /**
 
View Full Code Here

      if (id != null) {
        url = Constants.SLASH + id;
      }
      writer.writeStartElement("meta");
      writer.writeAttribute("path", url);
      writer.writeEndElement(); // close meta tag
    }
    // write query string
    writer.writeStartElement("meta");
    writer.writeAttribute("creation", DateTimeUtility.getCurrentTimeZoneMillis());
    writer.writeEndElement(); // close meta tag
View Full Code Here

      writer.writeEndElement(); // close meta tag
    }
    // write query string
    writer.writeStartElement("meta");
    writer.writeAttribute("creation", DateTimeUtility.getCurrentTimeZoneMillis());
    writer.writeEndElement(); // close meta tag
    // write sc version
    writer.writeStartElement("meta");
    writer.writeAttribute("scversion", SCVersion.CURRENT.toString());
    writer.writeEndElement(); // close meta tag
    WebConfiguration webConfiguration = WebContext.getWebConfiguration();
View Full Code Here

    writer.writeAttribute("creation", DateTimeUtility.getCurrentTimeZoneMillis());
    writer.writeEndElement(); // close meta tag
    // write sc version
    writer.writeStartElement("meta");
    writer.writeAttribute("scversion", SCVersion.CURRENT.toString());
    writer.writeEndElement(); // close meta tag
    WebConfiguration webConfiguration = WebContext.getWebConfiguration();
    // write web color schema
    writer.writeStartElement("meta");
    writer.writeAttribute("colorscheme", webConfiguration.getColorScheme());
    writer.writeEndElement(); // close meta tag
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.