|
|||||||||||||||||||
This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover. | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
DataImplFactory.java | - | 100% | 100% | 100% |
|
1 |
/* |
|
2 |
* JBind |
|
3 |
* |
|
4 |
* Copyright (c) by Stefan Wachter. All rights reserved. |
|
5 |
* |
|
6 |
* Usage, modification, and redistribution is subject to license terms that are |
|
7 |
* available at 'http://www.jbind.org'. The JBind license is like the |
|
8 |
* 'Apache Software License V 1.1'. |
|
9 |
*/ |
|
10 |
package org.jbind.xml.instance.impl; |
|
11 |
|
|
12 |
import org.jbind.xml.core.bridge.IDataImplFactory; |
|
13 |
import org.jbind.xml.core.bridge.IDocumentImpl; |
|
14 |
import org.jbind.xml.core.bridge.IElementImpl; |
|
15 |
|
|
16 |
public class DataImplFactory implements IDataImplFactory { |
|
17 |
|
|
18 | 3 |
public DataImplFactory() {} |
19 |
|
|
20 | 223 |
public IDocumentImpl createDocumentImpl() { |
21 | 223 |
return new DocumentImpl(); |
22 |
} |
|
23 |
|
|
24 | 2 |
public IElementImpl getElementFactoryImpl() { |
25 | 2 |
return new ElementFactoryImpl(); |
26 |
} |
|
27 |
|
|
28 |
} |
|
29 |
|
|