Package com.swiftmq.mgmt
Class XMLUtilities
java.lang.Object
com.swiftmq.mgmt.XMLUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
configToXML
(Configuration config, org.dom4j.Element root) static Configuration
static org.dom4j.Document
static org.dom4j.Document
createDocument
(String xml) static void
elementToXML
(org.dom4j.Element ele, org.dom4j.Element root) static void
entityToXML
(org.dom4j.Element parent, String tagName, Entity entity, boolean addName) static Configuration
fillConfiguration
(Configuration template, String xml) static Configuration
fillConfiguration
(Configuration template, org.dom4j.Document doc) static List
getCLICommands
(String xml, String phase) static org.dom4j.Element
getSwiftletElement
(String searched, org.dom4j.Element root) static void
loadIcons
(Entity entity, ClassLoader loader) static void
writeDocument
(org.dom4j.Document document, StringWriter stringWriter) static void
writeDocument
(org.dom4j.Document document, String filename)
-
Constructor Details
-
XMLUtilities
public XMLUtilities()
-
-
Method Details
-
createDocument
- Throws:
Exception
-
createDocument
- Throws:
Exception
-
writeDocument
- Throws:
Exception
-
writeDocument
public static void writeDocument(org.dom4j.Document document, StringWriter stringWriter) throws Exception - Throws:
Exception
-
createConfigurationTemplate
- Throws:
Exception
-
getCLICommands
- Throws:
Exception
-
loadIcons
- Throws:
Exception
-
getSwiftletElement
public static org.dom4j.Element getSwiftletElement(String searched, org.dom4j.Element root) throws Exception - Throws:
Exception
-
fillConfiguration
- Throws:
Exception
-
fillConfiguration
public static Configuration fillConfiguration(Configuration template, org.dom4j.Document doc) throws Exception - Throws:
Exception
-
entityToXML
public static void entityToXML(org.dom4j.Element parent, String tagName, Entity entity, boolean addName) throws Exception - Throws:
Exception
-
configToXML
- Throws:
Exception
-
elementToXML
- Throws:
Exception
-