|
|||||||||||||||||||
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 | |||||||||||||||
Binding.java | 100% | 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.schema.compiler; |
|
11 |
|
|
12 |
import org.jbind.xml.core.cmp.IBinding; |
|
13 |
|
|
14 |
public abstract class Binding implements IBinding { |
|
15 |
|
|
16 | 2854 |
public Binding() {} |
17 |
|
|
18 | 22733 |
public final String getFqName() { |
19 | 22733 |
String name = getName('.'); |
20 | 22733 |
if (null == name) { |
21 | 1464 |
return null; |
22 |
} |
|
23 | 21269 |
String pckg = getPackage(); |
24 | 21269 |
return (null != pckg) ? pckg + "." + name : name; |
25 |
} |
|
26 |
|
|
27 |
} |
|
28 |
|
|