net.sourceforge.rpgee.resources.openrpg.tree
Class OpenRpg1TreeResourceManager

java.lang.Object
  extended by net.sourceforge.rpgee.resources.openrpg.tree.OpenRpg1TreeResourceManager
All Implemented Interfaces:
ResourceLoader

public class OpenRpg1TreeResourceManager
extends java.lang.Object
implements ResourceLoader


Constructor Summary
OpenRpg1TreeResourceManager(java.net.URL treeData)
          Loads the xml from a URL.
 
Method Summary
 Resource getResourceByIdentifier(java.lang.String identifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenRpg1TreeResourceManager

public OpenRpg1TreeResourceManager(java.net.URL treeData)
                            throws ResourceException
Loads the xml from a URL. A parser is then used to have access to the tree for doing queries against it.

Parameters:
treeData - URL from which to load the xml. The XML has to conform to the OpenRPG1 format.
Throws:
ResourceException
Method Detail

getResourceByIdentifier

public Resource getResourceByIdentifier(java.lang.String identifier)
Specified by:
getResourceByIdentifier in interface ResourceLoader


Copyright © 2006 An Infinite Number of Monkeys. All Rights Reserved.