|
|||||||||||||||||||
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 | |||||||||||||||
AllModelGroup.java | - | 66,7% | 60% | 63,6% |
|
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.schema.element; |
|
11 |
|
|
12 |
import org.jbind.xml.base.ISymbolspace; |
|
13 |
import org.jbind.xml.base.ISymbolspaces; |
|
14 |
import org.jbind.xml.core.cmp.IComponent; |
|
15 |
import org.jbind.xml.msg.IConstraintViolations; |
|
16 |
import org.jbind.xml.schema.cmp.AllDecl; |
|
17 |
import org.jbind.xml.schema.instantiation.IElementHelper; |
|
18 |
|
|
19 |
public class AllModelGroup extends ModelGroup { |
|
20 |
|
|
21 | 19 |
public AllModelGroup(CreationParams aCreationParams) { |
22 | 19 |
super(aCreationParams); |
23 |
} |
|
24 |
|
|
25 | 19 |
public IComponent createComponent(IElementHelper aHelper, IConstraintViolations aViolations, String aNamespace, String aName) { |
26 | 19 |
AllDecl res = new AllDecl(this, aNamespace, aName, getRange()); |
27 | 19 |
doAddSubJobs(res, aHelper, aViolations); |
28 | 19 |
return res; |
29 |
} |
|
30 | 19 |
public void completeComponent(IElementHelper aHelper, IComponent aComponent, IConstraintViolations aViolations) {} |
31 |
|
|
32 | 0 |
public String getName() { |
33 | 0 |
return null; |
34 |
} |
|
35 | 0 |
public ISymbolspace getSymbolSpace() { |
36 | 0 |
return ISymbolspaces.ELEMENT_GROUP; |
37 |
} |
|
38 |
} |
|
39 |
|
|