org.kohsuke.rngom.ast.builder.ElementAnnotationBuilder 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.ast.builder;
import org.kohsuke.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedPattern;
/**
* Used to build foreign element annotations.
*/
public interface ElementAnnotationBuilder<
P extends ParsedPattern,
E extends ParsedElementAnnotation,
L extends Location,
A extends Annotations,
CL extends CommentList> extends Annotations {
/**
* Called when a child text is found.
*/
void addText(String value, L loc, CL comments) throws BuildException;
/**
* Called at the end to build an application data structure.
*/
E makeElementAnnotation() throws BuildException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy