Class ComponentInfo
- java.lang.Object
-
- org.apache.wicket.request.mapper.info.ComponentInfo
-
public class ComponentInfo extends 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(Integer renderCount, String componentPath, Integer behaviorId)
Construct.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getBehaviorId()
String
getComponentPath()
Integer
getRenderCount()
static ComponentInfo
parse(String string)
Parses the given string.String
toString()
-
-
-
Constructor Detail
-
ComponentInfo
public ComponentInfo(Integer renderCount, String componentPath, Integer behaviorId)
Construct.- Parameters:
renderCount
-componentPath
-behaviorId
-
-
-
Method Detail
-
getComponentPath
public String getComponentPath()
- Returns:
- component path
-
getBehaviorId
public Integer getBehaviorId()
- Returns:
- behavior index
-
getRenderCount
public Integer getRenderCount()
- Returns:
- render count
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
parse
public static ComponentInfo parse(String string)
Parses the given string.- Parameters:
string
-- Returns:
- component info or
null
if the string is not in correct format.
-
-