1 /*******************************************************************************
2 * Copyright (c) 2017 Politecnico di Torino and others.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Apache License, Version 2.0
6 * which accompanies this distribution, and is available at
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *******************************************************************************/
10 package it.polito.nffg.neo4j.jaxb;
12 import javax.xml.bind.JAXBElement;
13 import javax.xml.bind.annotation.XmlElementDecl;
14 import javax.xml.bind.annotation.XmlRegistry;
15 import javax.xml.namespace.QName;
19 * This object contains factory methods for each
20 * Java content interface and Java element interface
21 * generated in the it.polito.nffg.neo4j.jaxb package.
22 * <p>An ObjectFactory allows you to programatically
23 * construct new instances of the Java representation
24 * for XML content. The Java representation of XML
25 * content can consist of schema derived interfaces
26 * and classes representing the binding of schema
27 * type definitions, element declarations and model
28 * groups. Factory methods for each of these are
29 * provided in this class.
32 public class ObjectFactory {
34 private final static QName _Nffg_QNAME = new QName("http://www.example.org/nffg/", "nffg");
35 private final static QName _NffgSet_QNAME = new QName("http://www.example.org/nffg/", "nffg-set");
39 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.polito.nffg.neo4j.jaxb
41 public ObjectFactory() {
45 * Create an instance of {@link FlowrulesType }
47 public FlowrulesType createFlowrulesType() {
48 return new FlowrulesType();
52 * Create an instance of {@link FlowrulesType.Flowspace }
54 public FlowrulesType.Flowspace createFlowrulesTypeFlowspace() {
55 return new FlowrulesType.Flowspace();
59 * Create an instance of {@link CiType }
61 public CiType createCiType() {
66 * Create an instance of {@link CiType.Attributes }
68 public CiType.Attributes createCiTypeAttributes() {
69 return new CiType.Attributes();
73 * Create an instance of {@link EpType }
75 public EpType createEpType() {
80 * Create an instance of {@link SpecType }
82 public SpecType createSpecType() {
83 return new SpecType();
87 * Create an instance of {@link MonParamsType }
89 public MonParamsType createMonParamsType() {
90 return new MonParamsType();
94 * Create an instance of {@link NffgSet }
96 public NffgSet createNffgSet() {
101 * Create an instance of {@link Nffg }
103 public Nffg createNffg() {
108 * Create an instance of {@link EpointsType }
110 public EpointsType createEpointsType() {
111 return new EpointsType();
115 * Create an instance of {@link NfunctionsType }
117 public NfunctionsType createNfunctionsType() {
118 return new NfunctionsType();
122 * Create an instance of {@link NelementsType }
124 public NelementsType createNelementsType() {
125 return new NelementsType();
129 * Create an instance of {@link CpointsType }
131 public CpointsType createCpointsType() {
132 return new CpointsType();
136 * Create an instance of {@link NfType }
138 public NfType createNfType() {
143 * Create an instance of {@link EpCpType }
145 public EpCpType createEpCpType() {
146 return new EpCpType();
150 * Create an instance of {@link EpsCpsType }
152 public EpsCpsType createEpsCpsType() {
153 return new EpsCpsType();
157 * Create an instance of {@link ActionsType }
159 public ActionsType createActionsType() {
160 return new ActionsType();
164 * Create an instance of {@link ActionType }
166 public ActionType createActionType() {
167 return new ActionType();
171 * Create an instance of {@link PortType }
173 public PortType createPortType() {
174 return new PortType();
178 * Create an instance of {@link CpType }
180 public CpType createCpType() {
185 * Create an instance of {@link CtrlInterfacesType }
187 public CtrlInterfacesType createCtrlInterfacesType() {
188 return new CtrlInterfacesType();
192 * Create an instance of {@link NeType }
194 public NeType createNeType() {
199 * Create an instance of {@link Paths }
201 public Paths createPaths() {
206 * Create an instance of {@link HttpMessage }
208 public HttpMessage createHttpMessage() {
209 return new HttpMessage();
213 * Create an instance of {@link Property }
215 public Property createProperty() {
216 return new Property();
220 * Create an instance of {@link FlowrulesType.Flowspace.Mac }
222 public FlowrulesType.Flowspace.Mac createFlowrulesTypeFlowspaceMac() {
223 return new FlowrulesType.Flowspace.Mac();
227 * Create an instance of {@link FlowrulesType.Flowspace.Ip }
229 public FlowrulesType.Flowspace.Ip createFlowrulesTypeFlowspaceIp() {
230 return new FlowrulesType.Flowspace.Ip();
234 * Create an instance of {@link FlowrulesType.Flowspace.Tcp }
236 public FlowrulesType.Flowspace.Tcp createFlowrulesTypeFlowspaceTcp() {
237 return new FlowrulesType.Flowspace.Tcp();
241 * Create an instance of {@link FlowrulesType.Flowspace.Udp }
243 public FlowrulesType.Flowspace.Udp createFlowrulesTypeFlowspaceUdp() {
244 return new FlowrulesType.Flowspace.Udp();
248 * Create an instance of {@link CiType.Attributes.Attribute }
250 public CiType.Attributes.Attribute createCiTypeAttributesAttribute() {
251 return new CiType.Attributes.Attribute();
255 * Create an instance of {@link EpType.Flowspace }
257 public EpType.Flowspace createEpTypeFlowspace() {
258 return new EpType.Flowspace();
262 * Create an instance of {@link SpecType.Deployment }
264 public SpecType.Deployment createSpecTypeDeployment() {
265 return new SpecType.Deployment();
269 * Create an instance of {@link SpecType.Image }
271 public SpecType.Image createSpecTypeImage() {
272 return new SpecType.Image();
276 * Create an instance of {@link SpecType.Cpu }
278 public SpecType.Cpu createSpecTypeCpu() {
279 return new SpecType.Cpu();
283 * Create an instance of {@link SpecType.Memory }
285 public SpecType.Memory createSpecTypeMemory() {
286 return new SpecType.Memory();
290 * Create an instance of {@link SpecType.Storage }
292 public SpecType.Storage createSpecTypeStorage() {
293 return new SpecType.Storage();
297 * Create an instance of {@link MonParamsType.Parameter }
299 public MonParamsType.Parameter createMonParamsTypeParameter() {
300 return new MonParamsType.Parameter();
304 * Create an instance of {@link JAXBElement }{@code <}{@link NffgType }{@code >}}
306 @XmlElementDecl(namespace = "http://www.example.org/nffg/", name = "nffg")
307 public JAXBElement<Nffg> createNffg(Nffg value) {
308 return new JAXBElement<Nffg>(_Nffg_QNAME, Nffg.class, null, value);
312 * Create an instance of {@link JAXBElement }{@code <}{@link NffgSetType }{@code >}}
314 @XmlElementDecl(namespace = "http://www.example.org/nffg/", name = "nffg-set")
315 public JAXBElement<NffgSet> createNffgSet(NffgSet value) {
316 return new JAXBElement<NffgSet>(_NffgSet_QNAME, NffgSet.class, null, value);