Package org.myphotodiary.json

Examples of org.myphotodiary.json.JsonAttribute


        getServletContext().log("No attribute.", ex);
      }

      // Create Json response
      List<JsonAttribute> attrs = new ArrayList<JsonAttribute>();
      JsonAttribute attrData;
      for (Attribute attribute: attributes) {
        attrData = new JsonAttribute();
        attrData.setTitle(attribute.getName());
        attrData.setKey(attribute.getName());
        attrs.add(attrData);
      }
      // Send JSON response
      response.setContentType(Configuration.jsonContentType);
      response.setCharacterEncoding(Configuration.contentEncoding);
View Full Code Here

TOP

Related Classes of org.myphotodiary.json.JsonAttribute

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.