edu.sampleu.travel.workflow
Class XmlUtils

java.lang.Object
  extended by edu.sampleu.travel.workflow.XmlUtils

public class XmlUtils
extends Object


Constructor Summary
XmlUtils()
           
 
Method Summary
private static String closeTag(String tagName)
           
static String encapsulate(String tagName, String content)
          Returns a String containing the given content string enclosed within an open and close tag having the given tagName.
private static String openTag(String tagName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlUtils

public XmlUtils()
Method Detail

encapsulate

public static String encapsulate(String tagName,
                                 String content)
Returns a String containing the given content string enclosed within an open and close tag having the given tagName.

Parameters:
tagName -
content -
Returns:

openTag

private static String openTag(String tagName)

closeTag

private static String closeTag(String tagName)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.