Package org.imixs.workflow.xml
Klasse XMLItem
java.lang.Object
org.imixs.workflow.xml.XMLItem
- Alle implementierten Schnittstellen:
Serializable
Represents a single item inside a XMLItemCollection. An XMLItem has a name
and a value. The value can be any Serializable collection of objects.
- Autor:
- rsoika
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
XMLItem
public XMLItem()
-
-
Methodendetails
-
getName
-
setName
-
getValue
-
setValue
This method set the value array of the item. The method verifies if the values are from basic type, XMLItem or implementing the Map or List interface.Map or List interface will be converted into instances of XMLItem.
Null values will be converted into an empty vector.
In case an value is not convertible the method prints a warning into the log file.
issue #52: the method also converts XMLGregorianCalendar into java.util.Date
- Parameter:
values- - array of objects
-
transformValue
This method returns a transformed version of the XMLItem value array.In case an object value is an instance of a XMLItem, the method converts the object into the corresponding Map or List interface.
- Gibt zurück:
- Siehe auch:
-
equals
This method compares the item name and value array
-