01: package com.sun.tools.xjc.generator.annotation.spec;
02:
03: import javax.xml.bind.annotation.XmlElement;
04: import com.sun.codemodel.JAnnotationWriter;
05: import com.sun.codemodel.JType;
06:
07: public interface XmlElementWriter extends JAnnotationWriter<XmlElement> {
08:
09: XmlElementWriter name(String value);
10:
11: XmlElementWriter type(Class value);
12:
13: XmlElementWriter type(JType value);
14:
15: XmlElementWriter namespace(String value);
16:
17: XmlElementWriter defaultValue(String value);
18:
19: XmlElementWriter required(boolean value);
20:
21: XmlElementWriter nillable(boolean value);
22:
23: }
|