net.sf.csutils.core.model.impl
Class ROMetaModelReader

java.lang.Object
  extended by net.sf.csutils.core.model.impl.ROMetaModelReader

public class ROMetaModelReader
extends java.lang.Object

The registry object model writer is used to deserialize registry meta models from XML.


Constructor Summary
ROMetaModelReader()
           
 
Method Summary
 ROMetaModel read(java.io.File pFile)
          Reads and deserializes a meta model from the XML stream provided by the given File.
 ROMetaModel read(org.xml.sax.InputSource pSource)
          Reads and deserializes a meta model from the XML stream provided by the given InputSource.
 ROMetaModel read(java.io.InputStream pStream)
          Reads and deserializes a meta model from the XML stream provided by the given InputStream.
 ROMetaModel read(org.w3c.dom.Node pNode)
          Reads and deserializes a meta model from the XML stream provided by the given Node.
 ROMetaModel read(java.io.Reader pReader)
          Reads and deserializes a meta model from the XML stream provided by the given Reader.
protected  ROClassification read(ROClassification pBean)
           
protected  ROFile read(ROFile pBean)
           
protected  ROMetaModel read(ROMetaModel pBean)
           
protected  RORelation read(RORelation pBean)
           
protected  ROSlot read(ROSlot pBean)
           
protected  ROType read(ROType pBean)
           
 ROMetaModel read(javax.xml.transform.Source pSource)
          Reads and deserializes a meta model from the XML stream provided by the given Source.
 ROMetaModel read(java.net.URL pURL)
          Reads and deserializes a meta model from the XML stream provided by the given URL.
 ROMetaModel read(javax.xml.stream.XMLEventReader pReader)
          Reads and deserializes a meta model from the XML stream provided by the given XMLEventReader.
 ROMetaModel read(javax.xml.stream.XMLStreamReader pReader)
          Reads and deserializes a meta model from the XML stream provided by the given XMLStreamReader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ROMetaModelReader

public ROMetaModelReader()
Method Detail

read

protected ROSlot read(ROSlot pBean)

read

protected ROClassification read(ROClassification pBean)

read

protected ROFile read(ROFile pBean)

read

protected RORelation read(RORelation pBean)

read

protected ROType read(ROType pBean)

read

protected ROMetaModel read(ROMetaModel pBean)
                    throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

read

public ROMetaModel read(java.io.InputStream pStream)
                 throws javax.xml.registry.JAXRException
Reads and deserializes a meta model from the XML stream provided by the given InputStream.

Parameters:
pStream - The stream, from which to read the meta model.
Returns:
The created meta model.
Throws:
javax.xml.registry.JAXRException - The operation failed.

read

public ROMetaModel read(java.io.File pFile)
                 throws javax.xml.registry.JAXRException
Reads and deserializes a meta model from the XML stream provided by the given File.

Parameters:
pFile - The file, from which to read the meta model.
Returns:
The created meta model.
Throws:
javax.xml.registry.JAXRException - The operation failed.

read

public ROMetaModel read(org.xml.sax.InputSource pSource)
                 throws javax.xml.registry.JAXRException
Reads and deserializes a meta model from the XML stream provided by the given InputSource.

Parameters:
pSource - The SAX source, from which to read the meta model.
Returns:
The created meta model.
Throws:
javax.xml.registry.JAXRException - The operation failed.

read

public ROMetaModel read(java.io.Reader pReader)
                 throws javax.xml.registry.JAXRException
Reads and deserializes a meta model from the XML stream provided by the given Reader.

Parameters:
pReader - The reader, from which to read the meta model.
Returns:
The created meta model.
Throws:
javax.xml.registry.JAXRException - The operation failed.

read

public ROMetaModel read(org.w3c.dom.Node pNode)
                 throws javax.xml.registry.JAXRException
Reads and deserializes a meta model from the XML stream provided by the given Node.

Parameters:
pNode - The node, from which to read the meta model.
Returns:
The created meta model.
Throws:
javax.xml.registry.JAXRException - The operation failed.

read

public ROMetaModel read(javax.xml.transform.Source pSource)
                 throws javax.xml.registry.JAXRException
Reads and deserializes a meta model from the XML stream provided by the given Source.

Parameters:
pSource - The transformer source, from which to read the meta model.
Returns:
The created meta model.
Throws:
javax.xml.registry.JAXRException - The operation failed.

read

public ROMetaModel read(java.net.URL pURL)
                 throws javax.xml.registry.JAXRException
Reads and deserializes a meta model from the XML stream provided by the given URL.

Parameters:
pURL - The URL, from which to read the meta model.
Returns:
The created meta model.
Throws:
javax.xml.registry.JAXRException - The operation failed.

read

public ROMetaModel read(javax.xml.stream.XMLEventReader pReader)
                 throws javax.xml.registry.JAXRException
Reads and deserializes a meta model from the XML stream provided by the given XMLEventReader.

Parameters:
pReader - The StAX event reader, from which to read the meta model.
Returns:
The created meta model.
Throws:
javax.xml.registry.JAXRException - The operation failed.

read

public ROMetaModel read(javax.xml.stream.XMLStreamReader pReader)
                 throws javax.xml.registry.JAXRException
Reads and deserializes a meta model from the XML stream provided by the given XMLStreamReader.

Parameters:
pReader - The StAX stream reader, from which to read the meta model.
Returns:
The created meta model.
Throws:
javax.xml.registry.JAXRException - The operation failed.


Copyright © 2009-2010. All Rights Reserved.