Class ComponentInfo
- java.lang.Object
-
- org.apache.wicket.request.mapper.info.ComponentInfo
-
public class ComponentInfo extends java.lang.ObjectEncodes 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetBehaviorId()java.lang.StringgetComponentPath()java.lang.IntegergetRenderCount()static ComponentInfoparse(java.lang.String string)Parses the given string.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.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
nullif the string is not in correct format.
-
-