ObjectFactory.java
/*
* Copyright 2010 James Pether Sörling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id$
* $HeadURL$
*/
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.24 at 11:40:13 PM CET
//
package com.hack23.cia.model.external.riksdagen.votering.impl;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* A factory for creating Object objects.
*/
@XmlRegistry
public class ObjectFactory {
/** The Constant _Votering_QNAME. */
private static final QName _Votering_QNAME = new QName("http://votering.riksdagen.external.model.cia.hack23.com/impl", "votering");
/**
* Instantiates a new object factory.
*/
public ObjectFactory() {
}
/**
* Creates a new Object object.
*
* @return the ballot container
*/
public BallotContainer createBallotContainer() {
return new BallotContainer();
}
/**
* Creates a new Object object.
*
* @return the ballot document element
*/
public BallotDocumentElement createBallotDocumentElement() {
return new BallotDocumentElement();
}
/**
* Creates a new Object object.
*
* @return the ballot document data
*/
public BallotDocumentData createBallotDocumentData() {
return new BallotDocumentData();
}
/**
* Creates a new Object object.
*
* @return the vote data dto
*/
public VoteDataDto createVoteDataDto() {
return new VoteDataDto();
}
/**
* Creates a new Object object.
*
* @return the vote data
*/
public VoteData createVoteData() {
return new VoteData();
}
/**
* Creates a new Object object.
*
* @return the vote data embedded id
*/
public VoteDataEmbeddedId createVoteDataEmbeddedId() {
return new VoteDataEmbeddedId();
}
/**
* Creates a new Object object.
*
* @param value the value
* @return the JAXB element
*/
@XmlElementDecl(namespace = "http://votering.riksdagen.external.model.cia.hack23.com/impl", name = "votering")
public JAXBElement<BallotContainer> createVotering(final BallotContainer value) {
return new JAXBElement<>(_Votering_QNAME, BallotContainer.class, null, value);
}
}