|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface of a placeholder. A placeholder is used by one
method to note, that another method should insert code "here".
A placeholder is created by invoking
IndentationEngine.newPlaceHolder(String, boolean)
.
Method Summary | |
int |
getLevel()
Returns the placeholders indentation level. |
java.lang.String |
getName()
Returns the placeholders name. |
java.lang.Object |
getProperty(java.lang.String pName)
Returns a property value. |
boolean |
isAutoRemovable()
Returns whether the placeholder is automatically removable. |
void |
remove()
Removes the placeholder. |
void |
setProperty(java.lang.String pName,
java.lang.Object pValue)
Sets a property. |
Method Detail |
public java.lang.String getName()
Returns the placeholders name.
public boolean isAutoRemovable()
Returns whether the placeholder is automatically removable.
public void remove()
Removes the placeholder. If a placeholder isn't automatically removable, then it must be removed by an explicit invocation of this method.
public void setProperty(java.lang.String pName, java.lang.Object pValue)
Sets a property.
public java.lang.Object getProperty(java.lang.String pName)
Returns a property value. There is no distinction between the property value null and the case where the property isn't set.
public int getLevel()
Returns the placeholders indentation level.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |