Package com.xpn.xwiki.plugin.feed
Class SyndEntryDocumentSource.PropertySelector
- java.lang.Object
-
- com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource.PropertySelector
-
- Enclosing class:
- SyndEntryDocumentSource
public static class SyndEntryDocumentSource.PropertySelector extends Object
Utility class for selecting a property from a XWiki object.
-
-
Constructor Summary
Constructors Constructor Description PropertySelector(String strRep)
Creates a new instance from a string representation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName()
int
getObjectIndex()
String
getPropertyName()
-
-
-
Constructor Detail
-
PropertySelector
public PropertySelector(String strRep)
Creates a new instance from a string representation.- Parameters:
strRep
- a string like "ClassName_ObjectIndex_PropertyName", where class name and object index are optional
-
-
Method Detail
-
getClassName
public String getClassName()
- Returns:
- the name of a XWiki class
-
getObjectIndex
public int getObjectIndex()
- Returns:
- the index of an object within the document that this selector is applied to
-
-