|
|||||||||||||||||||
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 | |||||||||||||||
BuiltInLocation.java | - | 0% | 12,5% | 6,7% |
|
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.cmp; |
|
11 |
|
|
12 |
import java.net.URL; |
|
13 |
|
|
14 |
import org.jbind.xml.base.ILocation; |
|
15 |
|
|
16 |
public class BuiltInLocation implements ILocation { |
|
17 |
|
|
18 |
public static final ILocation INSTANCE = new BuiltInLocation(); |
|
19 |
|
|
20 | 0 |
public int getColumnNumber() { |
21 | 0 |
return -1; |
22 |
} |
|
23 | 0 |
public int getLineNumber() { |
24 | 0 |
return -1; |
25 |
} |
|
26 | 0 |
public URL getBaseSystemId() { |
27 | 0 |
return null; |
28 |
} |
|
29 | 0 |
public URL getExpandedSystemId() { |
30 | 0 |
return null; |
31 |
} |
|
32 | 0 |
public String getLiteralSystemId() { |
33 | 0 |
return null; |
34 |
} |
|
35 | 0 |
public String getPublicId() { |
36 | 0 |
return "Built-in W3C-Schema"; |
37 |
} |
|
38 | 0 |
public ILocation getLocation() { |
39 | 0 |
return this; |
40 |
} |
|
41 |
|
|
42 | 3 |
private BuiltInLocation() {} |
43 |
|
|
44 |
} |
|
45 |
|
|