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, java.lang.String xmlns, java.lang.String schemaLocation)
          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,
                 java.lang.String xmlns,
                 java.lang.String schemaLocation)
          throws org.xml.sax.SAXException,
                 javax.xml.bind.JAXBException,
                 java.io.IOException
Constructor. Loas the topology

Parameters:
topologyUrl - path to the xml topology file
schemaUrl - path to the xml topology schema
xmlns - XML namespace, will be added if non found in the XML
schemaLocation - XML schema location, will be added if non found in the XML
Throws:
org.xml.sax.SAXException
javax.xml.bind.JAXBException
java.io.IOException
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.