|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.csutils.core.model.impl.ROMetaModelWriter
public class ROMetaModelWriter
The registry object model writer is used to serialize registry meta models into XML.
Constructor Summary | |
---|---|
ROMetaModelWriter()
|
Method Summary | |
---|---|
protected ROClassification |
write(ROClassification pAttr)
Converts the given classification attribute into a JAXB bean. |
protected ROFile |
write(ROFile pAttr)
Converts the given file attribute into a JAXB bean. |
protected ROMetaModel |
write(ROMetaModel pModel)
Converts the given meta model into a serializable JAXB bean. |
void |
write(ROMetaModel pModel,
org.xml.sax.ContentHandler pHandler)
Converts the given meta model to XML by writing to the given ContentHandler . |
void |
write(ROMetaModel pModel,
java.io.File pFile)
Converts the given meta model to XML by writing to the given File . |
void |
write(ROMetaModel pModel,
org.w3c.dom.Node pNode)
Converts the given meta model to XML by writing to the given Node . |
void |
write(ROMetaModel pModel,
java.io.OutputStream pStream)
Converts the given meta model to XML by writing to the given OutputStream . |
void |
write(ROMetaModel pModel,
javax.xml.transform.Result pResult)
Converts the given meta model to XML by writing to the given Result . |
void |
write(ROMetaModel pModel,
java.io.Writer pWriter)
Converts the given meta model to XML by writing to the given Writer . |
void |
write(ROMetaModel pModel,
javax.xml.stream.XMLEventWriter pWriter)
Converts the given meta model to XML by writing to the given XMLEventWriter . |
void |
write(ROMetaModel pModel,
javax.xml.stream.XMLStreamWriter pWriter)
Converts the given meta model to XML by writing to the given XMLStreamWriter . |
protected RORelation |
write(RORelation pAttr)
Converts the given relationship attribute into a JAXB bean. |
protected ROSlot |
write(ROSlot pAttr)
|
protected ROType |
write(ROType pType)
Converts the given registry object type into a JAXB bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ROMetaModelWriter()
Method Detail |
---|
protected ROSlot write(ROSlot pAttr)
protected ROFile write(ROFile pAttr) throws javax.xml.registry.JAXRException
pAttr
- The file attribute to convert.
javax.xml.registry.JAXRException
- The operation failed.protected RORelation write(RORelation pAttr) throws javax.xml.registry.JAXRException
pAttr
- The relationship attribute to convert.
javax.xml.registry.JAXRException
- The operation failed.protected ROClassification write(ROClassification pAttr)
pAttr
- The classification attribute to convert.
javax.xml.registry.JAXRException
- The operation failed.protected ROType write(ROType pType) throws javax.xml.registry.JAXRException
pType
- The registry object type to convert.
javax.xml.registry.JAXRException
- The operation failed.protected ROMetaModel write(ROMetaModel pModel) throws javax.xml.registry.JAXRException
pModel
- The meta model to convert.
javax.xml.registry.JAXRException
- The operation failed.public void write(ROMetaModel pModel, java.io.OutputStream pStream) throws javax.xml.registry.JAXRException
OutputStream
.
pModel
- The meta model to convert.pStream
- The stream to write to.
javax.xml.registry.JAXRException
- The operation failed.public void write(ROMetaModel pModel, java.io.File pFile) throws javax.xml.registry.JAXRException
File
.
pModel
- The meta model to convert.pFile
- The file to write to.
javax.xml.registry.JAXRException
- The operation failed.public void write(ROMetaModel pModel, java.io.Writer pWriter) throws javax.xml.registry.JAXRException
Writer
.
pModel
- The meta model to convert.pWriter
- The writer to write to.
javax.xml.registry.JAXRException
- The operation failed.public void write(ROMetaModel pModel, javax.xml.transform.Result pResult) throws javax.xml.registry.JAXRException
Result
.
pModel
- The meta model to convert.pResult
- The transformer result to write to.
javax.xml.registry.JAXRException
- The operation failed.public void write(ROMetaModel pModel, org.w3c.dom.Node pNode) throws javax.xml.registry.JAXRException
Node
.
pModel
- The meta model to convert.pNode
- The node to write to.
javax.xml.registry.JAXRException
- The operation failed.public void write(ROMetaModel pModel, javax.xml.stream.XMLEventWriter pWriter) throws javax.xml.registry.JAXRException
XMLEventWriter
.
pModel
- The meta model to convert.pWriter
- The StAX event writer to write to.
javax.xml.registry.JAXRException
- The operation failed.public void write(ROMetaModel pModel, javax.xml.stream.XMLStreamWriter pWriter) throws javax.xml.registry.JAXRException
XMLStreamWriter
.
pModel
- The meta model to convert.pWriter
- The StAX stream writer to write to.
javax.xml.registry.JAXRException
- The operation failed.public void write(ROMetaModel pModel, org.xml.sax.ContentHandler pHandler) throws javax.xml.registry.JAXRException
ContentHandler
.
pModel
- The meta model to convert.pHandler
- The SAX content handler to write to.
javax.xml.registry.JAXRException
- The operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |