org.springframework.roo.addon.surf.util
Class ComponentConfigUtils

java.lang.Object
  extended by org.springframework.roo.addon.surf.util.ComponentConfigUtils

public class ComponentConfigUtils
extends Object

Author:
Yong Qu

Constructor Summary
ComponentConfigUtils()
           
 
Method Summary
static String componentsToString(Document doc)
           
static String componentToString(Element componentElem)
           
static String getComponentConfigByRegionId(Document doc, String regionId)
           
static String getComponentConfigByUrl(Document doc, String url)
           
static Element getComponentElem(Document doc)
           
static List<Element> getComponentsElems(Document doc)
           
static boolean removeComponentConfig(Document doc, String regionId)
           
static Element updateComponentConfig(Document doc, String regionId, String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentConfigUtils

public ComponentConfigUtils()
Method Detail

componentsToString

public static String componentsToString(Document doc)

componentToString

public static String componentToString(Element componentElem)

getComponentElem

public static Element getComponentElem(Document doc)

getComponentsElems

public static List<Element> getComponentsElems(Document doc)

updateComponentConfig

public static Element updateComponentConfig(Document doc,
                                            String regionId,
                                            String url)

removeComponentConfig

public static boolean removeComponentConfig(Document doc,
                                            String regionId)

getComponentConfigByRegionId

public static String getComponentConfigByRegionId(Document doc,
                                                  String regionId)

getComponentConfigByUrl

public static String getComponentConfigByUrl(Document doc,
                                             String url)


Copyright © 2009 SpringSource, Inc. All Rights Reserved.