Multiple Class
The factory of the SchemaType object that represents the child element that consecutively occurs zero or more times.
public static class Multiple
- Inheritance
-
Multiple
Methods
Of<T>() |
Creates the SchemaType object that represents the child element corresponding to the specified class that consecutively occurs zero or more times. |
Methods Detail
Of<T>()
Creates the SchemaType object that represents the child element corresponding to the specified class that consecutively occurs zero or more times.
public static SchemaType Of<T>()
Type Parameters
- T
-
class
The class annotated with ForElementAttribute, representing the child element that consecutively occurs zero or more times.
Returns
The SchemaType object.
Remarks
The SchemaType object for the specified class
that this method returns
must not follow consecutively one that
Optional.Of<T>() or
Of<T>() with the same class returns,
in the parameters of the
Schema.Of(SchemaType[]).
For example, both
Schema.Of(Optional.Of<Movie>(),
Multiple.Of<Movie>())
and
Schema.Of(Multiple.Of<Movie>(),
Multiple.Of<Movie>())
are invalid.