Listing 5: ObjectFactory
1 public class ObjectFactory (
2 private finał static QName _Greetings_QNAME = new QName(""Greetings");
3 public ObjectFactory!) ()
4 /* Creale an inslance of CreelingLislType */
5 public GreetingListType createGreetingListTypeO
6 { return new GreetingListType!); )
7 public GreetingType createGreetingTypeO
8 { return new GreetingType!); }
10 @XmlEłementDecl(namespace = name = "Greetings")
11 public JAXBElement<GreetingListType> createGreetings(GreetingListType value)
12 ( return new JAXBElement<GreetingListType>(_Greetings_QNAME,
GreetingListType.class, nuli, value); )