|
OSCI2-StarterKit |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.osci.messageparts.OSCIFragmentParser
public class OSCIFragmentParser
Internal class for parsing the incoming OSCI message.
Copyright © 2010 Freie Hansestadt Bremen.
Created by bremen online services Entwicklungs- und Betriebsgesellschaft mbH & Co. KG.
This library (Starter Kit) can be used by anybody according to the Bremer Lizenz für freie
Softwarebibliotheken. The license terms can be viewed at www.osci.de or can be ordered at the
OSCI-Leitstelle (Die Senatorin für Finanzen, Freie Hansestadt Bremen, Postfach 10 15 40, 28015 Bremen).
Constructor Summary | |
---|---|
OSCIFragmentParser()
|
Method Summary | |
---|---|
static java.lang.Object |
createAddressingHeader(com.sun.xml.ws.api.message.HeaderList hl,
AddressingHeaderTag addressingHeaderTag)
For internal usage only! |
static com.sun.xml.ws.api.message.Header |
createMetadata(com.sun.xml.ws.api.message.HeaderList hl)
Creates a wsa:Metadata header out of the given header list. |
static java.lang.Object |
createOSCIHeader(com.sun.xml.ws.api.message.HeaderList hl,
OSCIHeaderTag osciHeaderTag)
For internal usage only! |
static java.util.List<org.w3._2005._08.addressing.RelatesToType> |
getAddressingRelatesTo(com.sun.xml.ws.api.message.HeaderList hl)
Returns the addressing 'RelatesTo' element out of the given header list. |
static java.util.List<org.w3._2002._03.xkms.CompoundResultType> |
getCompoundResultType(com.sun.xml.ws.api.message.HeaderList headerList)
Returns the XKMS 'CompoundResult' element out of the given header list. |
static eu.osci.ws._2008._05.transport.MsgBoxResponseType |
getMsgBoxResponseType(com.sun.xml.ws.api.message.HeaderList hl)
Returns the OSCI 'MsgBoxResponse' element out of the given header list. |
static eu.osci.ws._2008._05.transport.MsgStatusListType |
getMsgStatusListType(com.sun.xml.ws.api.message.Message message)
Returns the OSCI 'MsgStatusList' element out of the given SOAP message. |
static eu.osci.ws._2008._05.transport.ReceptionReceiptDemandType |
getReceiptDemand(com.sun.xml.ws.api.message.HeaderList hl)
Returns the OSCI 'ReceptionReceiptDemand' element out of the given header list. |
static org.oasis_open.docs.ws_sx.ws_trust._200512.RequestSecurityTokenResponseCollectionType |
getRequestSecurityTokenResponseCollection(com.sun.xml.ws.api.message.HeaderList hl)
Returns the OSCI 'RequestSecurityTokenResponseCollection' element out of the given header list. |
static java.lang.String |
getTypeOfBusinessScenario(org.w3._2005._08.addressing.EndpointReferenceType epr)
Returns the TypeOfBusinessConnector string out of the given EndpointReference. |
static eu.osci.ws._2008._05.transport.X509TokenContainerType |
getX509Container(com.sun.xml.ws.api.message.HeaderList hl)
Returns the OSCI 'X509TokenContainer' element out of the given header list. |
static eu.osci.ws._2008._05.transport.X509TokenContainerType |
getX509TokenContainer(com.sun.xml.ws.api.message.HeaderList hl)
Returns the OSCI 'X509TokenContainer' element out of the given header list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OSCIFragmentParser()
Method Detail |
---|
public static java.util.List<org.w3._2005._08.addressing.RelatesToType> getAddressingRelatesTo(com.sun.xml.ws.api.message.HeaderList hl) throws javax.xml.bind.JAXBException
hl
- Header list including the 'RelatesTo' header.
null
if not present.
javax.xml.bind.JAXBException
- In the case of parsing errors.public static eu.osci.ws._2008._05.transport.ReceptionReceiptDemandType getReceiptDemand(com.sun.xml.ws.api.message.HeaderList hl) throws javax.xml.bind.JAXBException
hl
- Header list including the 'ReceptionReceiptDemand' header.
null
if not present.
javax.xml.bind.JAXBException
- In the case of parsing errors.public static eu.osci.ws._2008._05.transport.X509TokenContainerType getX509TokenContainer(com.sun.xml.ws.api.message.HeaderList hl) throws javax.xml.bind.JAXBException
hl
- Header list including the 'X509TokenContainer' header.
null
if not present.
javax.xml.bind.JAXBException
- In the case of parsing errors.public static eu.osci.ws._2008._05.transport.X509TokenContainerType getX509Container(com.sun.xml.ws.api.message.HeaderList hl) throws javax.xml.bind.JAXBException
hl
- Header list including the 'X509TokenContainer' header.
null
if not present.
javax.xml.bind.JAXBException
- In the case of parsing errors.public static org.oasis_open.docs.ws_sx.ws_trust._200512.RequestSecurityTokenResponseCollectionType getRequestSecurityTokenResponseCollection(com.sun.xml.ws.api.message.HeaderList hl) throws javax.xml.bind.JAXBException
hl
- Header list including the 'RequestSecurityTokenResponseCollection' header.
null
if not present.
javax.xml.bind.JAXBException
- In the case of parsing errors.public static eu.osci.ws._2008._05.transport.MsgBoxResponseType getMsgBoxResponseType(com.sun.xml.ws.api.message.HeaderList hl) throws javax.xml.bind.JAXBException
hl
- Header list including the 'MsgBoxResponse' header.
null
if not present.
javax.xml.bind.JAXBException
- In the case of parsing errors.public static eu.osci.ws._2008._05.transport.MsgStatusListType getMsgStatusListType(com.sun.xml.ws.api.message.Message message) throws javax.xml.bind.JAXBException
message
- The SOAP message to search for the MsgStatusList.
null
if not present.
javax.xml.bind.JAXBException
- In the case of parsing errors.public static java.util.List<org.w3._2002._03.xkms.CompoundResultType> getCompoundResultType(com.sun.xml.ws.api.message.HeaderList headerList) throws javax.xml.bind.JAXBException
headerList
- Header list including the 'CompoundResult' header.
null
if not present.
javax.xml.bind.JAXBException
- In the case of parsing errors.public static java.lang.Object createAddressingHeader(com.sun.xml.ws.api.message.HeaderList hl, AddressingHeaderTag addressingHeaderTag) throws javax.xml.bind.JAXBException
hl
- Header list that includes the addressing header.addressingHeaderTag
- QName of the addressing element that would be created.
null
in the case of no occurrence.
javax.xml.bind.JAXBException
- If the structure of the element is not the expected.public static com.sun.xml.ws.api.message.Header createMetadata(com.sun.xml.ws.api.message.HeaderList hl)
hl
- Header list out of the SOAP message.
public static java.lang.String getTypeOfBusinessScenario(org.w3._2005._08.addressing.EndpointReferenceType epr)
epr
- EndpointReference with a TypeOfBusinessConnector element.public static java.lang.Object createOSCIHeader(com.sun.xml.ws.api.message.HeaderList hl, OSCIHeaderTag osciHeaderTag) throws javax.xml.bind.JAXBException
hl
- Header list that includes the OSCI header.osciHeaderTag
- QName of the OSCI element that would be created.
null
in the case of no occurrence.
javax.xml.bind.JAXBException
- If the structure of the element is not the expected.
|
OSCI2-StarterKit |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |