1
|
/* Generated By:JJTree: Do not edit this line. ASTMyNs.java Version 4.3 */
|
2
|
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
|
3
|
package eu.dnetlib.data.collective.transformation.rulelanguage.parser;
|
4
|
|
5
|
/**
|
6
|
* @author jochen
|
7
|
*
|
8
|
*/
|
9
|
public class ASTMyNs extends SimpleNode {
|
10
|
|
11
|
private String nsPrefix;
|
12
|
private String nsUri;
|
13
|
|
14
|
public ASTMyNs(int id) {
|
15
|
super(id);
|
16
|
}
|
17
|
|
18
|
public ASTMyNs(FtScript p, int id) {
|
19
|
super(p, id);
|
20
|
}
|
21
|
|
22
|
|
23
|
/** Accept the visitor. **/
|
24
|
public Object jjtAccept(FtScriptVisitor visitor, Object data) {
|
25
|
return visitor.visit(this, data);
|
26
|
}
|
27
|
|
28
|
public void setNsDeclaration(String aNsPrefix, String aNsUri){
|
29
|
this.nsPrefix = aNsPrefix;
|
30
|
this.nsUri = aNsUri.substring( (aNsUri.indexOf("\"") + 1), aNsUri.lastIndexOf("\"") );
|
31
|
}
|
32
|
|
33
|
public String getNsPrefix(){
|
34
|
return this.nsPrefix;
|
35
|
}
|
36
|
|
37
|
public String getNsUri(){
|
38
|
return this.nsUri;
|
39
|
}
|
40
|
|
41
|
}
|
42
|
/* JavaCC - OriginalChecksum=9d6d617b7c3f22f3603fcbd13f738170 (do not edit this line) */
|