|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
org.oddjob.designer.model.DesignAdult
org.oddjob.designer.model.DesignElementType
org.oddjob.designer.model.DesignElementAttribute
org.oddjob.designer.elements.MultiLineBaseDE
org.oddjob.designer.elements.ValueDE
The value type is most commonly used in varables and lists. It can be used like this.
1. To define a value with some nested text.
<value>Some Text</value>2. To define a value with a value attribute.
<value value="Some Text"/>This class will read in all the above but when returning the XML it will always inline (1) if the text contains a \n and as a value attribute (2) if it doesn't.
| Field Summary |
| Fields inherited from class org.oddjob.designer.model.DesignElementType |
detailObserver |
| Fields inherited from class org.oddjob.designer.model.DesignAdult |
parent |
| Constructor Summary | |
ValueDE()
|
|
| Method Summary | |
java.lang.String |
attribute()
Get the attribute text. |
| Methods inherited from class org.oddjob.designer.elements.MultiLineBaseDE |
addText, attribute, clear, detail, getValue, hasDetail, setValue, text |
| Methods inherited from class org.oddjob.designer.model.DesignElementType |
getName, setName, type, type |
| Methods inherited from class org.oddjob.designer.model.DesignAdult |
addChild, childCount, childElements, children, children, clearChildren, createType, insertChild, parent, removeChild, supportedTypes, supportedTypes |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ValueDE()
| Method Detail |
public java.lang.String attribute()
DesignAttribute
attribute in interface DesignAttributeattribute in class MultiLineBaseDE
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||