org.kohsuke.rngom.digested.DRefPattern 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;
/**
* @author Kohsuke Kawaguchi ([email protected])
*/
public class DRefPattern extends DPattern {
private final DDefine target;
public DRefPattern(DDefine target) {
this.target = target;
}
public boolean isNullable() {
return target.isNullable();
}
/**
* Gets the {@link DDefine} that this block refers to.
*/
public DDefine getTarget() {
return target;
}
/**
* Gets the name of the target.
*/
public String getName() {
return target.getName();
}
public Object accept( DPatternVisitor visitor ) {
return visitor.onRef(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy