Package com.enonic.xp.region
Class ComponentPath.RegionAndComponent
- java.lang.Object
-
- com.enonic.xp.region.ComponentPath.RegionAndComponent
-
- Enclosing class:
- ComponentPath
public static class ComponentPath.RegionAndComponent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RegionAndComponent(ComponentPath.RegionName regionName, ComponentPath.ComponentIndex componentIndex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentPath.RegionAndComponent
from(java.lang.String str)
static ComponentPath.RegionAndComponent
from(java.lang.String regionName, int componentIndex)
int
getComponentIndex()
java.lang.String
getRegionName()
java.lang.String
toString()
-
-
-
Constructor Detail
-
RegionAndComponent
public RegionAndComponent(ComponentPath.RegionName regionName, ComponentPath.ComponentIndex componentIndex)
-
-
Method Detail
-
from
public static ComponentPath.RegionAndComponent from(java.lang.String regionName, int componentIndex)
-
from
public static ComponentPath.RegionAndComponent from(java.lang.String str)
-
getRegionName
public java.lang.String getRegionName()
-
getComponentIndex
public int getComponentIndex()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-