Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 
 // See <a href=""></a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 // Generated on: 2015.02.11 at 04:51:28 AM PST 
 package com.sun.jersey.samples.extendedwadl.model;
This object contains factory methods for each Java content interface and Java element interface generated in the com.sun.jersey.samples.extendedwadl.model package.

An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.

public class ObjectFactory {
    private final static QName _Items_QNAME = new QName("""items");

Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.jersey.samples.extendedwadl.model
    public ObjectFactory() {

Create an instance of
    public Items createItems() {
        return new Items();

Create an instance of
    public Item createItem() {
        return new Item();

Create an instance of <>}
    @XmlElementDecl(namespace = "", name = "items")
    public JAXBElement<ItemscreateItems(Items value) {
        return new JAXBElement<Items>(Items.classnullvalue);
New to GrepCode? Check out our FAQ X