|
|||||||||||||||||||
| 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 | |||||||||||||||
| Notation.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 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 org.jbind.xml.base.ISymbolspace; |
|
| 13 |
import org.jbind.xml.base.ISymbolspaces; |
|
| 14 |
import org.jbind.xml.core.cmp.IComponentVisitor; |
|
| 15 |
import org.jbind.xml.core.cmp.INotation; |
|
| 16 |
import org.jbind.xml.core.cmp.ISourceInfo; |
|
| 17 |
import org.jbind.xml.msg.IConstraintViolations; |
|
| 18 |
import org.jbind.xml.msg.XmlException; |
|
| 19 |
|
|
| 20 |
public class Notation extends Component implements INotation {
|
|
| 21 |
|
|
| 22 |
private String myPublicId; |
|
| 23 |
private String mySystemId; |
|
| 24 |
|
|
| 25 | 0 |
public Notation(ISourceInfo aSourceInfo, String aNamespace, String aName, String aPublicId, String aSystemId) {
|
| 26 | 0 |
super(aSourceInfo, aNamespace, aName); |
| 27 | 0 |
myPublicId = aPublicId; |
| 28 | 0 |
mySystemId = aSystemId; |
| 29 |
} |
|
| 30 |
|
|
| 31 | 0 |
public void accept(IComponentVisitor aVisitor) throws XmlException {
|
| 32 | 0 |
aVisitor.visitNotationStart(this); |
| 33 | 0 |
visitSubComponents(aVisitor); |
| 34 | 0 |
aVisitor.visitNotationEnd(this); |
| 35 |
} |
|
| 36 |
|
|
| 37 | 0 |
public ISymbolspace getSymbolspace() {
|
| 38 | 0 |
return ISymbolspaces.NOTATION; |
| 39 |
} |
|
| 40 |
|
|
| 41 | 0 |
public boolean isReference() {
|
| 42 | 0 |
return false; |
| 43 |
} |
|
| 44 |
|
|
| 45 | 0 |
public void validate(IConstraintViolations aViolations) {}
|
| 46 |
|
|
| 47 |
} |
|
| 48 |
|
|
||||||||||