Class WebXMLBuilder

Object
com.liferay.portal.tools.WebXMLBuilder

public class WebXMLBuilder extends Object
Author:
Brian Wing Shun Chan, Tang Ying Jian, Brian Myunghun Kim, Minhchau Dang
  • Constructor Details

    • WebXMLBuilder

      public WebXMLBuilder()
  • Method Details

    • main

      public static void main(String[] args)
    • mergeWebXML

      public static void mergeWebXML(String originalWebXML, String customWebXML, String mergedWebXML)
    • organizeWebXML

      public static String organizeWebXML(String webXML) throws com.liferay.portal.kernel.xml.DocumentException, IOException
      Throws:
      com.liferay.portal.kernel.xml.DocumentException
      IOException
    • getCustomContent

      protected static String getCustomContent(String customWebXML) throws IOException
      Throws:
      IOException
    • getMergedContentIndex

      protected static int getMergedContentIndex(String content)
    • getOriginalContentIndex

      protected static int getOriginalContentIndex(String content)