View Javadoc
1   /*
2    * Copyright 2022-2025 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.bremersee.pagebuilder.model;
18  
19  import jakarta.xml.bind.annotation.XmlRegistry;
20  
21  /**
22   * The xml object factory.
23   *
24   * @author Christian Bremer
25   */
26  @XmlRegistry
27  public class ObjectFactory {
28  
29  
30    /**
31     * Instantiates a new object factory.
32     */
33    public ObjectFactory() {
34      super();
35    }
36  
37    /**
38     * Creates common page dto.
39     *
40     * @return the common page dto
41     */
42    public CommonPageDto createCommonPageDto() {
43      return new CommonPageDto();
44    }
45  
46    /**
47     * Creates common slice dto.
48     *
49     * @return the common slice dto
50     */
51    public CommonSliceDto createCommonSliceDto() {
52      return new CommonSliceDto();
53    }
54  
55  }