jadex.application
Class ApplicationXMLReader

java.lang.Object
  extended by jadex.application.ApplicationXMLReader

public class ApplicationXMLReader
extends Object

Reader for loading Application XML models into a Java representation states.


Nested Class Summary
static class ApplicationXMLReader.ExpressionProcessor
          Parse expression text.
 
Field Summary
protected  Set[] mappings
          The mappings.
protected  Reader reader
          The reader instance.
 
Constructor Summary
ApplicationXMLReader(Set[] mappings)
          Create a new reader.
 
Method Summary
static void addMethodInfos(Map props, String type, String[] names)
          Add method info.
static Set getXMLMapping(Set[] mappings)
          Get the XML mapping.
 MApplicationType read(ResourceInfo rinfo, ClassLoader classloader)
          Read properties from xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

protected Reader reader
The reader instance.


mappings

protected Set[] mappings
The mappings.

Constructor Detail

ApplicationXMLReader

public ApplicationXMLReader(Set[] mappings)
Create a new reader.

Method Detail

read

public MApplicationType read(ResourceInfo rinfo,
                             ClassLoader classloader)
                      throws Exception
Read properties from xml.

Parameters:
info - The resource info.
classloader - The classloader.
Throws:
Exception

addMethodInfos

public static void addMethodInfos(Map props,
                                  String type,
                                  String[] names)
Add method info.


getXMLMapping

public static Set getXMLMapping(Set[] mappings)
Get the XML mapping.



Copyright © 2010. All Rights Reserved.