org.ow2.jasmine.deployme.loadXml
Class XmlLoader

java.lang.Object
  extended by org.ow2.jasmine.deployme.loadXml.XmlLoader

public class XmlLoader
extends java.lang.Object

Load the xml topology

Author:
Remy Bresson

Constructor Summary
XmlLoader(java.net.URL topologyUrl, java.net.URL schemaUrl)
          Constructor.
 
Method Summary
 org.ow2.jasmine.deployme.generated.Topology getTopology()
          Return the loaded topology
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlLoader

public XmlLoader(java.net.URL topologyUrl,
                 java.net.URL schemaUrl)
          throws org.xml.sax.SAXException,
                 javax.xml.bind.JAXBException
Constructor. Loas the topology

Parameters:
topologyUrl - path to the xml topology file
schemaUrl - path to the xml topology schema
Throws:
org.xml.sax.SAXException
javax.xml.bind.JAXBException
Method Detail

getTopology

public org.ow2.jasmine.deployme.generated.Topology getTopology()
Return the loaded topology

Returns:
the topology


Copyright © 2009 OW2 Consortium. All Rights Reserved.