public class NXConverter extends Object
Constructor and Description |
---|
NXConverter() |
NXConverter(XAnnotationParser xannotationParser,
ClassLoader classLoader) |
public NXConverter()
public NXConverter(XAnnotationParser xannotationParser, ClassLoader classLoader)
protected XAnnotationParser getXAnnotationParser()
protected ClassLoader getClassLoader()
public XPackage convertNPackage(Package thePackage, NPackage npackage) throws ClassNotFoundException, NoSuchFieldException, NoSuchMethodException, AnnotationElementParseException
public XClass convertNClass(Class<?> theClass, NClass nclass) throws ClassNotFoundException, NoSuchFieldException, NoSuchMethodException, AnnotationElementParseException
public XField convertNField(Class<?> theClass, NField nfield) throws NoSuchFieldException, AnnotationElementParseException
public XConstructor convertNConstructor(Class<?> theClass, NConstructor nconstructor) throws ClassNotFoundException, NoSuchMethodException, AnnotationElementParseException
public XMethod convertNMethod(Class<?> theClass, NMethod nmethod) throws ClassNotFoundException, NoSuchMethodException, AnnotationElementParseException
public XParameter[] convertNParameters(Class<?>[] parameterTypes, List<NParameter> nparameters) throws AnnotationElementParseException
AnnotationElementParseException
public XParameter convertNParameter(Class<?> parameterType, NParameter nparameter) throws AnnotationElementParseException
AnnotationElementParseException
protected Class<?> getClass(Package thePackage, String name) throws ClassNotFoundException
ClassNotFoundException
protected Field getField(Class<?> theClass, String name) throws NoSuchFieldException
NoSuchFieldException
protected Constructor<?> getConstructor(Class<?> theClass, Class<?>[] arguments) throws NoSuchMethodException
NoSuchMethodException
protected Method getMethod(Class<?> theClass, String name, Class<?>[] arguments) throws NoSuchMethodException
NoSuchMethodException
protected XAnnotation[] parseAnnotations(List<Element> elements) throws AnnotationElementParseException
AnnotationElementParseException
protected Class<?>[] parseArguments(String arguments) throws ClassNotFoundException
ClassNotFoundException
Copyright © 2006–2017 Highsource. All rights reserved.