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
AnnotationElementParseExceptionpublic XParameter convertNParameter(Class<?> parameterType, NParameter nparameter) throws AnnotationElementParseException
AnnotationElementParseExceptionprotected Class<?> getClass(Package thePackage, String name) throws ClassNotFoundException
ClassNotFoundExceptionprotected Field getField(Class<?> theClass, String name) throws NoSuchFieldException
NoSuchFieldExceptionprotected Constructor<?> getConstructor(Class<?> theClass, Class<?>[] arguments) throws NoSuchMethodException
NoSuchMethodExceptionprotected Method getMethod(Class<?> theClass, String name, Class<?>[] arguments) throws NoSuchMethodException
NoSuchMethodExceptionprotected XAnnotation[] parseAnnotations(List<Element> elements) throws AnnotationElementParseException
AnnotationElementParseExceptionprotected Class<?>[] parseArguments(String arguments) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2006-2012 Highsource. All Rights Reserved.