Package org.simpleframework.xml.core
Interface Repeater
-
- All Superinterfaces:
Converter
- All Known Implementing Classes:
CompositeInlineList
,CompositeInlineMap
,CompositeListUnion
,CompositeMapUnion
,PrimitiveInlineList
,TextList
,Variable.Adapter
interface Repeater extends Converter
TheRepeater
interface is used to for converters that can repeat a read on a given element. This is typically used for inline lists and maps so that the elements can be mixed within the containing element. This ensures a more liberal means of writing the XML such that elements not grouped in a containing XML element can be declared throughout the document.- See Also:
CompositeInlineMap
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
read(InputNode node, java.lang.Object value)
Theread
method reads an object to a specific type from the provided node.
-
-
-
Method Detail
-
read
java.lang.Object read(InputNode node, java.lang.Object value) throws java.lang.Exception
Theread
method reads an object to a specific type from the provided node. If the node provided is an attribute then the object must be a primitive such as a string, integer, boolean, or any of the other Java primitive types.
-
-