public class CustomPath
extends java.lang.Object
For internal use only.
Constructor and Description |
---|
CustomPath() |
Modifier and Type | Method and Description |
---|---|
static CustomPath |
fromTarget(java.lang.String path)
Return (nullable) Custom path from target path.
|
java.lang.String |
getAtomChild()
Return (nullable) Name of the Atom child the property maps to, e.g.
|
java.lang.String |
getAtomElement()
Return name of the Atom element the property maps to, e.g.
|
boolean |
getKeepInContent()
Return
true if the property value should be duplicated in regular content. |
Property |
getMyProperty()
Return property to which this custom path applies.
|
void |
setAtomChild(java.lang.String value)
Set name of the Atom child the property maps to, e.g.
|
void |
setAtomElement(java.lang.String value)
Set name of the Atom element the property maps to, e.g.
|
void |
setKeepInContent(boolean value)
Set
true if the property value should be duplicated in regular content. |
void |
setMyProperty(Property value)
Set property to which this custom path applies.
|
public static CustomPath fromTarget(java.lang.String path)
Return (nullable) Custom path from target path.
path
- Feed customization target path.public java.lang.String getAtomChild()
Return (nullable) Name of the Atom child the property maps to, e.g. "name" where atomElement
is "author".
atomElement
is "author".public java.lang.String getAtomElement()
Return name of the Atom element the property maps to, e.g. "title".
public boolean getKeepInContent()
Return true
if the property value should be duplicated in regular content.
true
if the property value should be duplicated in regular content.public Property getMyProperty()
Return property to which this custom path applies.
public void setAtomChild(java.lang.String value)
Set name of the Atom child the property maps to, e.g. "name" where atomElement
is "author".
value
- Name of the Atom child the property maps to, e.g. "name" where atomElement
is "author".public void setAtomElement(java.lang.String value)
Set name of the Atom element the property maps to, e.g. "title".
value
- Name of the Atom element the property maps to, e.g. "title".public void setKeepInContent(boolean value)
Set true
if the property value should be duplicated in regular content.
value
- true
if the property value should be duplicated in regular content.public void setMyProperty(Property value)
Set property to which this custom path applies.
value
- Property to which this custom path applies.