|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xanot.structure.XanotRule
org.xanot.structure.CloseInstanceRule
public class CloseInstanceRule
Close instance rule. This rule define how an XML element's element tobe set into the parent property.
Constructor Summary | |
---|---|
CloseInstanceRule(java.lang.String path,
java.lang.String propertyName)
Creates a new CloseInstanceRule object. |
Method Summary | |
---|---|
java.lang.String |
getDateFormat()
Get the date format value. |
java.lang.String |
getPropertyName()
Get property on the parent side where the object belongs. |
void |
setDateFormat(java.lang.String dateFormat)
Set the date format value |
void |
setPropertyName(java.lang.String propertyName)
Set property on the parent side where the object belongs. |
java.lang.String |
toString()
Get string representation of this object. |
Methods inherited from class org.xanot.structure.XanotRule |
---|
getPath, setPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CloseInstanceRule(java.lang.String path, java.lang.String propertyName)
path
- The path, should be equals to the closing xml tag name.propertyName
- Property on the parent side where the object belongs.Method Detail |
---|
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
propertyName
- The propertyName to set.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDateFormat()
public void setDateFormat(java.lang.String dateFormat)
dateFormat
- new date format pattern
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |