vnas.sm
Class XMLSMaker

java.lang.Object
  |
  +--vnas.sm.SMaker
        |
        +--vnas.sm.XMLSMaker

public class XMLSMaker
extends SMaker

SMaker implementation that loads panel layouts from XML files.

See Also:
ISMaker

Constructor Summary
XMLSMaker()
           
 
Method Summary
 void load(java.io.File file)
          Loads the XML file represented by the File object.
 void load(java.lang.String resourcename)
          Loads an XML file from the classpath.
 void load(java.net.URL url)
          Loads the XML file from an URL.
 
Methods inherited from class vnas.sm.SMaker
addSMakerListener, create, create, create, getRootTarget, getTarget, getTarget, getTarget, getTarget, getTargets, newSMaker, removeSMakerListener, setExceptionHandler, setTarget, setTarget
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSMaker

public XMLSMaker()
Method Detail

load

public void load(java.lang.String resourcename)
Loads an XML file from the classpath. The ClassLoader.getSystemResource() method is called to load the file.
Parameters:
resourcename - the resource name (for example "Example2.xml")

load

public void load(java.io.File file)
Loads the XML file represented by the File object.
Parameters:
file - representation of the XML file

load

public void load(java.net.URL url)
Loads the XML file from an URL.
Parameters:
url - the URL of the XML file