|
OSCI2-StarterKit |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.osci.helper.LetterStyleHelper
public class LetterStyleHelper
Helper class for LetterStyle creation.
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).
Field Summary | |
---|---|
static javax.xml.namespace.QName |
QNAME_LETTER_STYLE
Now we have to define the URI for the LetterStyle. |
Constructor Summary | |
---|---|
LetterStyleHelper()
|
Method Summary | |
---|---|
static org.w3c.dom.Document |
getDocumentFromLetterStyle(eu.osci.ws._2008._05.common.urn.messagetypes.letterstyle.LetterStyleMessageType _content)
Creates a DOM document including the given LetterStyleMessageType object. |
static eu.osci.ws._2008._05.common.urn.messagetypes.letterstyle.LetterStyleMessageType |
getLetterStyle(java.lang.String _subject,
java.lang.String _data)
Creates a simple LetterStyle structure with the given parameter. |
static void |
getStreamFromLetterStyle(eu.osci.ws._2008._05.common.urn.messagetypes.letterstyle.LetterStyleMessageType _content,
java.io.OutputStream returnStream)
Writes the LetterStyleMessageType JAXB object to the given OutputStream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final javax.xml.namespace.QName QNAME_LETTER_STYLE
Constructor Detail |
---|
public LetterStyleHelper()
Method Detail |
---|
public static org.w3c.dom.Document getDocumentFromLetterStyle(eu.osci.ws._2008._05.common.urn.messagetypes.letterstyle.LetterStyleMessageType _content) throws javax.xml.bind.JAXBException, javax.xml.parsers.ParserConfigurationException
_content
- LetterStyle object.
javax.xml.parsers.ParserConfigurationException
javax.xml.bind.JAXBException
public static void getStreamFromLetterStyle(eu.osci.ws._2008._05.common.urn.messagetypes.letterstyle.LetterStyleMessageType _content, java.io.OutputStream returnStream) throws javax.xml.bind.JAXBException
_content
- The LetterStyle object.returnStream
- The OutputStream to write the response.
javax.xml.bind.JAXBException
public static eu.osci.ws._2008._05.common.urn.messagetypes.letterstyle.LetterStyleMessageType getLetterStyle(java.lang.String _subject, java.lang.String _data)
_subject
- The subject of the LetterStyle structure_data
- The XML data of the LetterStyle structure
|
OSCI2-StarterKit |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |