|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.higgins.icard.common.utils.XMLHelper
Used to help with common XML processing functions
| Field Summary | |
|---|---|
static String |
DSIG_NS
|
static String |
HI_NS
|
static String |
IC_NS
|
static String |
MEX_NS
|
static String |
TRUST_NS
|
static String |
WSA_NS
|
static String |
WSAI_NS
|
static String |
XE_NS
|
| Constructor Summary | |
|---|---|
XMLHelper()
|
|
| Method Summary | |
|---|---|
static Element |
domFromFile(String strFileName)
|
static Element |
domFromStream(InputStream inputStream)
|
static void |
logElement(Element domElement)
|
static org.apache.axiom.om.OMElement |
omFromFile(String strFileName)
|
static org.apache.axiom.om.OMElement |
omFromStream(InputStream inputStream)
|
static String |
StripNamespaceDeclaration(String strElement)
|
static Element |
toDOM(org.apache.axiom.om.OMElement omElement)
Converts an OMElement to an equivalent DOM Element |
static Element |
toDOM(String strElement)
|
static org.eclipse.higgins.icard.io.IElement |
toElement(Element domElement)
Converts an DOM Element to an equivalent Element |
static org.eclipse.higgins.icard.io.IElement |
toElement(org.apache.axiom.om.OMElement omElement)
Converts an OMElement to an equivalent IOElement |
static org.apache.axiom.om.OMElement |
toOM(Element domElement)
Converts an DOM Element into an equivalent OMElement |
static org.apache.axiom.om.OMElement |
toOM(String strElement)
|
static String |
toString(Element domElement)
|
static String |
toString(org.apache.axiom.om.OMElement omElement)
Converts an OMElement to an equivalent String |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String IC_NS
public static final String TRUST_NS
public static final String WSA_NS
public static final String MEX_NS
public static final String WSAI_NS
public static final String DSIG_NS
public static final String XE_NS
public static final String HI_NS
| Constructor Detail |
public XMLHelper()
| Method Detail |
public static org.eclipse.higgins.icard.io.IElement toElement(org.apache.axiom.om.OMElement omElement)
throws Exception
omElement - an OMElement to be converted into a IOElement
Exception
public static org.eclipse.higgins.icard.io.IElement toElement(Element domElement)
throws Exception
domElement - a DOM Element to be converted into a Element
Exception
public static Element toDOM(org.apache.axiom.om.OMElement omElement)
throws Exception
omElement - an OMElement to be converted into a DOM Element
Exception
public static String toString(org.apache.axiom.om.OMElement omElement)
throws Exception
omElement - an OMElement to be converted into a String
Exceptionpublic static String StripNamespaceDeclaration(String strElement)
public static org.apache.axiom.om.OMElement toOM(Element domElement)
throws Exception
domElement - an Element to be converted
Exception
public static String toString(Element domElement)
throws IOException
IOException
public static void logElement(Element domElement)
throws IOException
IOException
public static Element toDOM(String strElement)
throws IOException,
Exception
IOException
Exception
public static Element domFromStream(InputStream inputStream)
throws FileNotFoundException,
Exception
FileNotFoundException
Exception
public static Element domFromFile(String strFileName)
throws FileNotFoundException,
Exception
FileNotFoundException
Exception
public static org.apache.axiom.om.OMElement omFromStream(InputStream inputStream)
throws FileNotFoundException,
Exception
FileNotFoundException
Exception
public static org.apache.axiom.om.OMElement omFromFile(String strFileName)
throws FileNotFoundException,
Exception
FileNotFoundException
Exception
public static org.apache.axiom.om.OMElement toOM(String strElement)
throws Exception
Exception
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||