Package org.opencypher.tools.xml
Annotation Type Child
-
@Target(METHOD) @Retention(RUNTIME) public @interface Child
Handle a nested XML element. A method annotated with this annotation will be used to handle XML elements nested within the XML element that corresponds to the instance of the class that defines the method.
-
-
Element Detail
-
value
Class<?>[] value
The types of nested elements handled by the annotated method. The default value corresponds to the parameter type of the annotated method. Valid values must be subtypes of the parameter type of the annotated method, and annotated withElement, or one ofString.class,Comment.class, orComment.Header.class.- Returns:
- The specific types that are accepted as child elements of the element that corresponds to the class with the annotated method.
- Default:
- {}
-
-