org.kohsuke.rngom.digested.DValuePattern Maven / Gradle / Ivy
Go to download
Old JAXB Binding Compiler. Contains source code needed for binding customization files into java sources.
In other words: the *tool* to generate java classes for the given xml representation.
package org.kohsuke.rngom.digested;
import org.kohsuke.rngom.parse.Context;
/**
* @author Kohsuke Kawaguchi ([email protected])
*/
public class DValuePattern extends DPattern {
private String datatypeLibrary;
private String type;
private String value;
private Context context;
private String ns;
public DValuePattern(String datatypeLibrary, String type, String value, Context context, String ns) {
this.datatypeLibrary = datatypeLibrary;
this.type = type;
this.value = value;
this.context = context;
this.ns = ns;
}
public String getDatatypeLibrary() {
return datatypeLibrary;
}
public String getType() {
return type;
}
public String getValue() {
return value;
}
public Context getContext() {
return context;
}
public String getNs() {
return ns;
}
public boolean isNullable() {
return false;
}
public Object accept( DPatternVisitor visitor ) {
return visitor.onValue(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy