org.eclipse.higgins.icard.provider.cardspace.common.utils
Class XMLUtils
java.lang.Object
org.eclipse.higgins.icard.provider.cardspace.common.utils.XMLUtils
- public class XMLUtils
- extends Object
XMLUtils
public XMLUtils()
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)