|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.csutils.core.utils.JaxbWriter<CLSS>
public class JaxbWriter<CLSS>
The JAXB bean writer is used to serialize JAXB beans models into XML.
| Constructor Summary | |
|---|---|
JaxbWriter(java.lang.Class<CLSS> pClass,
javax.xml.namespace.QName pQName)
|
|
| Method Summary | |
|---|---|
void |
write(CLSS pObject,
org.xml.sax.ContentHandler pHandler)
Converts the given JAXB bean to XML by writing to the given ContentHandler. |
void |
write(CLSS pObject,
java.io.File pFile)
Converts the given JAXB bean to XML by writing to the given File. |
void |
write(CLSS pObject,
org.w3c.dom.Node pNode)
Converts the given JAXB bean to XML by writing to the given Node. |
void |
write(CLSS pObject,
java.lang.Object pOutput)
Converts the given JAXB bean to XML by writing to the given output object. |
void |
write(CLSS pObject,
java.io.OutputStream pStream)
Converts the given JAXB bean to XML by writing to the given OutputStream. |
void |
write(CLSS pObject,
javax.xml.transform.Result pResult)
Converts the given JAXB bean to XML by writing to the given Result. |
void |
write(CLSS pObject,
java.io.Writer pWriter)
Converts the given JAXB bean to XML by writing to the given Writer. |
void |
write(CLSS pObject,
javax.xml.stream.XMLEventWriter pWriter)
Converts the given JAXB bean to XML by writing to the given XMLEventWriter. |
void |
write(CLSS pObject,
javax.xml.stream.XMLStreamWriter pWriter)
Converts the given JAXB bean to XML by writing to the given XMLStreamWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JaxbWriter(java.lang.Class<CLSS> pClass,
javax.xml.namespace.QName pQName)
| Method Detail |
|---|
public void write(CLSS pObject,
java.io.OutputStream pStream)
throws javax.xml.bind.JAXBException
OutputStream.
pObject - The JAXB bean to convert.pStream - The stream to write to.
javax.xml.bind.JAXBException - The operation failed.
public void write(CLSS pObject,
java.io.File pFile)
throws javax.xml.bind.JAXBException
File.
pObject - The JAXB bean to convert.pFile - The file to write to.
javax.xml.bind.JAXBException - The operation failed.
public void write(CLSS pObject,
java.io.Writer pWriter)
throws javax.xml.bind.JAXBException
Writer.
pObject - The JAXB bean to convert.pWriter - The writer to write to.
javax.xml.bind.JAXBException - The operation failed.
public void write(CLSS pObject,
javax.xml.transform.Result pResult)
throws javax.xml.bind.JAXBException
Result.
pObject - The JAXB bean to convert.pResult - The transformer result to write to.
javax.xml.bind.JAXBException - The operation failed.
public void write(CLSS pObject,
org.w3c.dom.Node pNode)
throws javax.xml.bind.JAXBException
Node.
pObject - The JAXB bean to convert.pNode - The node to write to.
javax.xml.bind.JAXBException - The operation failed.
public void write(CLSS pObject,
javax.xml.stream.XMLEventWriter pWriter)
throws javax.xml.bind.JAXBException
XMLEventWriter.
pObject - The JAXB bean to convert.pWriter - The StAX event writer to write to.
javax.xml.bind.JAXBException - The operation failed.
public void write(CLSS pObject,
javax.xml.stream.XMLStreamWriter pWriter)
throws javax.xml.bind.JAXBException
XMLStreamWriter.
pObject - The JAXB bean to convert.pWriter - The StAX stream writer to write to.
javax.xml.bind.JAXBException - The operation failed.
public void write(CLSS pObject,
org.xml.sax.ContentHandler pHandler)
throws javax.xml.bind.JAXBException
ContentHandler.
pObject - The JAXB bean to convert.pHandler - The SAX content handler to write to.
javax.xml.bind.JAXBException - The operation failed.
public void write(CLSS pObject,
java.lang.Object pOutput)
throws javax.xml.bind.JAXBException
pObject - The JAXB bean to convert.pOutput - The output object
javax.xml.bind.JAXBException - The operation failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||