Package ch.entwine.weblounge.common.content.image

Examples of ch.entwine.weblounge.common.content.image.ImageStyle.toXml()


    // Search styles of current site
    for (Module m : site.getModules()) {
      ImageStyle style = m.getImageStyle(styleId);
      if (style != null) {
        ResponseBuilder response = Response.ok(style.toXml());
        return response.build();
      }
    }

    // Search global styles
View Full Code Here


    }

    // Search global styles
    for (ImageStyle style : styles) {
      if (style.getIdentifier().equals(styleId)) {
        ResponseBuilder response = Response.ok(style.toXml());
        return response.build();
      }
    }

    // The image style was not found
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.