org.eclipse.higgins.icard.provider.cardspace.common.utils
Class XMLUtils

java.lang.Object
  extended by org.eclipse.higgins.icard.provider.cardspace.common.utils.XMLUtils

public class XMLUtils
extends Object


Constructor Summary
XMLUtils()
           
 
Method Summary
static String elementToString(Element elm)
           
static Element getChildElement(Element owner, String nameSpace, String localName)
           
static ArrayList getChildElements(Element owner, String nameSpace, String localName)
           
static String getTextContent(Element element)
           
static void setTextContent(Element element, String value)
           
static String StripNamespaceDeclaration(String strElement)
           
static String toString(org.apache.axiom.om.OMElement omElement)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtils

public XMLUtils()
Method Detail

elementToString

public static String elementToString(Element elm)
                              throws TransformerException
Parameters:
elm -
Returns:
Throws:
TransformerException

toString

public static String toString(org.apache.axiom.om.OMElement omElement)
                       throws Exception
Throws:
Exception

StripNamespaceDeclaration

public static String StripNamespaceDeclaration(String strElement)

getChildElements

public static ArrayList getChildElements(Element owner,
                                         String nameSpace,
                                         String localName)
                                  throws org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.icard.CardException

getChildElement

public static Element getChildElement(Element owner,
                                      String nameSpace,
                                      String localName)
                               throws org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.icard.CardException

getTextContent

public static String getTextContent(Element element)

setTextContent

public static void setTextContent(Element element,
                                  String value)