Package jadex.bdiv3x

Class BDIXMLReader


  • public class BDIXMLReader
    extends jadex.component.ComponentXMLReader
    Reader for loading component XML models into a Java representation states.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BDIXMLReader.BeliefMultiProc
      Postprocess beliefs and belief sets.
      static class  BDIXMLReader.GoalMetaProc  
      static class  BDIXMLReader.ParamMultiProc
      Postprocess parameters and parameter sets.
      • Nested classes/interfaces inherited from class jadex.component.ComponentXMLReader

        jadex.component.ComponentXMLReader.ExpressionProcessor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONTEXT_LOADER
      The loader constant.
      static jadex.commons.transformation.IStringObjectConverter dirconv  
      static jadex.commons.transformation.IStringObjectConverter evamodeconv  
      static jadex.commons.transformation.IStringObjectConverter excludeconv  
      static jadex.commons.transformation.IStringObjectConverter exconf  
      protected BDIXModelLoader loader
      The loader for sub capabilities.
      static jadex.commons.transformation.IStringObjectConverter pdirconv  
      static jadex.commons.transformation.IObjectStringConverter redirconv  
      static jadex.commons.transformation.IObjectStringConverter reevamodeconv  
      static jadex.commons.transformation.IObjectStringConverter reexcludeconv  
      static jadex.commons.transformation.IObjectStringConverter repdirconv  
      static jadex.commons.transformation.IObjectStringConverter rexconf  
      • Fields inherited from class jadex.component.ComponentXMLReader

        classconv, CONTEXT_ENTRIES, CONTEXT_EXTERNALS, CONTEXT_RID, CONTEXT_ROOT, handler, manager, mappings, reader, reclassconv, rescopeconv, scopeconv, stringarraytostring, stringtostringarray
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> createContext()
      Add loader to context.
      protected static java.lang.String findBeliefDefaultValue​(BDIXModel model, MBelief mbel, java.lang.String configname)
      Find the belief/ref value.
      protected java.lang.String getModelType​(java.lang.String filename)
      Get the type of loaded models.
      static java.util.Set<TypeInfo> getXMLMapping​(java.lang.String uri)
      Get the XML mapping.
      • Methods inherited from class jadex.component.ComponentXMLReader

        addMethodInfos, buildReport, getXMLMapping, read
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dirconv

        public static final jadex.commons.transformation.IStringObjectConverter dirconv
      • redirconv

        public static final jadex.commons.transformation.IObjectStringConverter redirconv
      • pdirconv

        public static final jadex.commons.transformation.IStringObjectConverter pdirconv
      • repdirconv

        public static final jadex.commons.transformation.IObjectStringConverter repdirconv
      • excludeconv

        public static final jadex.commons.transformation.IStringObjectConverter excludeconv
      • reexcludeconv

        public static final jadex.commons.transformation.IObjectStringConverter reexcludeconv
      • evamodeconv

        public static final jadex.commons.transformation.IStringObjectConverter evamodeconv
      • reevamodeconv

        public static final jadex.commons.transformation.IObjectStringConverter reevamodeconv
      • exconf

        public static final jadex.commons.transformation.IStringObjectConverter exconf
      • rexconf

        public static final jadex.commons.transformation.IObjectStringConverter rexconf
      • CONTEXT_LOADER

        public static final java.lang.String CONTEXT_LOADER
        The loader constant.
        See Also:
        Constant Field Values
      • loader

        protected BDIXModelLoader loader
        The loader for sub capabilities.
    • Constructor Detail

      • BDIXMLReader

        public BDIXMLReader​(BDIXModelLoader loader)
        Create a new reader.
    • Method Detail

      • createContext

        public java.util.Map<java.lang.String,​java.lang.Object> createContext()
        Add loader to context.
        Overrides:
        createContext in class jadex.component.ComponentXMLReader
      • getModelType

        protected java.lang.String getModelType​(java.lang.String filename)
        Get the type of loaded models.
        Overrides:
        getModelType in class jadex.component.ComponentXMLReader
      • getXMLMapping

        public static java.util.Set<TypeInfo> getXMLMapping​(java.lang.String uri)
        Get the XML mapping.
      • findBeliefDefaultValue

        protected static java.lang.String findBeliefDefaultValue​(BDIXModel model,
                                                                 MBelief mbel,
                                                                 java.lang.String configname)
        Find the belief/ref value. Returns the expression text of the default value.