Class ComponentInfo


  • public class ComponentInfo
    extends java.lang.Object
    Encodes listener and component path in form of <listener>-<componentPath>, <listener>.<behaviorIndex>-<componentPath> or <render-count>.<listener>.<behaviorIndex>-<componentPath>

    Component path is escaped (':' characters are replaced by '~')

    Author:
    Matej Knopp
    • Constructor Summary

      Constructors 
      Constructor Description
      ComponentInfo​(java.lang.Integer renderCount, java.lang.String componentPath, java.lang.Integer behaviorId)
      Construct.
    • Constructor Detail

      • ComponentInfo

        public ComponentInfo​(java.lang.Integer renderCount,
                             java.lang.String componentPath,
                             java.lang.Integer behaviorId)
        Construct.
        Parameters:
        renderCount -
        componentPath -
        behaviorId -
    • Method Detail

      • getComponentPath

        public java.lang.String getComponentPath()
        Returns:
        component path
      • getBehaviorId

        public java.lang.Integer getBehaviorId()
        Returns:
        behavior index
      • getRenderCount

        public java.lang.Integer getRenderCount()
        Returns:
        render count
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • parse

        public static ComponentInfo parse​(java.lang.String string)
        Parses the given string.
        Parameters:
        string -
        Returns:
        component info or null if the string is not in correct format.