Class AttributeMapping


  • public class AttributeMapping
    extends java.lang.Object
    • Field Detail

      • value

        public java.lang.Object value
    • Method Detail

      • setAutomap

        public void setAutomap​(boolean automap)
      • getAutomap

        public boolean getAutomap()
      • declareStaticBean

        public void declareStaticBean​(java.lang.String name,
                                      java.lang.Object bean)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • declareBean

        public void declareBean​(java.lang.String name,
                                java.lang.Object bean)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • releaseBeans

        public void releaseBeans()
      • undeclareBean

        public void undeclareBean​(java.lang.String name)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • undeclareStaticBean

        public void undeclareStaticBean​(java.lang.String name)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • pushStackFrame

        public void pushStackFrame​(AssemblyLineComponent tc)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • popStackFrame

        public void popStackFrame()
      • unload

        public void unload()
      • loadMap

        public void loadMap​(AttributeMapConfig map)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • loadEventMap

        public void loadEventMap​(HooksConfig map)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getName

        public java.lang.String getName()
      • hasAttribute

        public boolean hasAttribute​(java.lang.String attr)
      • isDebugEnabled

        public boolean isDebugEnabled​(java.lang.String attr)
      • eval

        public boolean eval​(java.lang.String attr)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • mapAttribute

        public java.lang.Object mapAttribute​(java.lang.String attr)
                                      throws java.lang.Exception
        Returns either an Entry or an Attribute... FOR INTERNAL USE ONLY!!!
        Parameters:
        attr - the attribute name.
        Returns:
        either an Entry or an Attribute
        Throws:
        java.lang.Exception
      • mapEntry

        public Entry mapEntry​(Entry source,
                              Entry newEntry)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • mapEntry

        public Entry mapEntry​(Entry source,
                              Entry newEntry,
                              boolean mergeValues)
                       throws java.lang.Exception
        Map one entry into another using the loaded attribute Mapping
        Parameters:
        source - The Entry containing the source attributes
        newEntry - The Entry that will contain the mapped attributes
        mergeValues - If true, do not remove values from newEntry
        Throws:
        java.lang.Exception - if an attribute is not present
      • isEmpty

        public boolean isEmpty()