com.liferay.portal.tools
Class WebXMLBuilder

java.lang.Object
  extended by com.liferay.portal.tools.WebXMLBuilder

public class WebXMLBuilder
extends java.lang.Object

Author:
Brian Wing Shun Chan, Tang Ying Jian, Brian Myunghun Kim, Minhchau Dang

Constructor Summary
WebXMLBuilder(java.lang.String originalWebXML, java.lang.String customWebXML, java.lang.String mergedWebXML)
           
 
Method Summary
protected  java.lang.String getCustomContent(java.lang.String customWebXML)
           
protected  int getMergedContentIndex(java.lang.String content)
           
protected  int getOriginalContentIndex(java.lang.String content)
           
static void main(java.lang.String[] args)
           
static java.lang.String organizeWebXML(java.lang.String webXML)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebXMLBuilder

public WebXMLBuilder(java.lang.String originalWebXML,
                     java.lang.String customWebXML,
                     java.lang.String mergedWebXML)
Method Detail

main

public static void main(java.lang.String[] args)

organizeWebXML

public static java.lang.String organizeWebXML(java.lang.String webXML)
                                       throws com.liferay.portal.kernel.xml.DocumentException,
                                              java.io.IOException
Throws:
com.liferay.portal.kernel.xml.DocumentException
java.io.IOException

getCustomContent

protected java.lang.String getCustomContent(java.lang.String customWebXML)
                                     throws java.io.IOException
Throws:
java.io.IOException

getMergedContentIndex

protected int getMergedContentIndex(java.lang.String content)

getOriginalContentIndex

protected int getOriginalContentIndex(java.lang.String content)