|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.wssecurity.wssapi.OMStructureFactory
public abstract class OMStructureFactory
This API is used for the creation of OMStructure elements. An OMStructure object is usually the expected input when a WS-Security api method signature has an XMLStructure.
Constructor Summary | |
---|---|
OMStructureFactory()
|
Method Summary | |
---|---|
static OMStructureFactory |
getInstance()
Retrieves an instance of the OMStructureFactory. |
abstract com.ibm.wsspi.wssecurity.wssapi.OMStructure |
getOMStructure(org.w3c.dom.Element element)
Create an OMStructure from an org.w3c.dom.Element. |
abstract com.ibm.wsspi.wssecurity.wssapi.OMStructure |
getOMStructure(java.io.InputStream is)
Create an OMStructure based on an InputStream for a XML element. |
abstract com.ibm.wsspi.wssecurity.wssapi.OMStructure |
getOMStructure(org.apache.axiom.om.OMElement node)
Create an OMStructure from an OMElement element. |
abstract com.ibm.wsspi.wssecurity.wssapi.OMStructure |
getOMStructure(java.lang.String strElement)
Create an OMStructure from a java.lang.String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OMStructureFactory()
Method Detail |
---|
public static OMStructureFactory getInstance() throws WSSException
WSSException
- if the illegal access occurs or if the WSSFactory instance is not generated.public abstract com.ibm.wsspi.wssecurity.wssapi.OMStructure getOMStructure(org.apache.axiom.om.OMElement node)
node
- axiom representation of an element
public abstract com.ibm.wsspi.wssecurity.wssapi.OMStructure getOMStructure(org.w3c.dom.Element element) throws java.lang.Exception
element
- org.w3c.dom representation of an element
java.lang.Exception
- if org.w3c.dom.Element cannot be converted to an OMElementpublic abstract com.ibm.wsspi.wssecurity.wssapi.OMStructure getOMStructure(java.lang.String strElement) throws java.lang.Exception
strElement
- String representation of an XML element
java.lang.Exception
- if String cannot be converted to an OMElementpublic abstract com.ibm.wsspi.wssecurity.wssapi.OMStructure getOMStructure(java.io.InputStream is) throws java.lang.Exception
is
- an InputStream corresponding to a serialized XML element. The programmer is
responsible for closing of the stream accordingly.
java.lang.Exception
- if InputStream cannot be converted to an OMElement
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |