Package jadex.bdiv3x

Class BDIXMLReader


  • public class BDIXMLReader
    extends jadex.component.ComponentXMLReader
    Reader for loading component XML models into a Java representation states.
    • 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<jadex.xml.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.