Class XmlCollection<T>
java.lang.Object
nl.vpro.domain.media.update.collections.XmlCollection<T>
- All Implemented Interfaces:
Iterable<T>
,IntegerVersionSpecific
,VersionSpecific<Integer>
XmlCollection does the same as JAXB would do for lists. We use this package info just to define the prefixes for the other namespaces.
- Since:
- 3.4
- Author:
- Michiel Meeuwissen
-
Field Summary
-
Constructor Summary
ConstructorDescriptionXmlCollection
(Collection<T> l) XmlCollection
(Collection<T> l, IntegerVersion version) XmlCollection
(T... l) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
iterator()
void
setVersion
(IntegerVersion version) int
size()
stream()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
version
-
-
Constructor Details
-
XmlCollection
public XmlCollection() -
XmlCollection
-
XmlCollection
-
XmlCollection
-
-
Method Details
-
size
public int size() -
iterator
-
stream
-
toString
-
equals
-
hashCode
public int hashCode() -
getVersion
- Specified by:
getVersion
in interfaceIntegerVersionSpecific
- Specified by:
getVersion
in interfaceVersionSpecific<T>
-
setVersion
- Specified by:
setVersion
in interfaceIntegerVersionSpecific
-