Class NXConverter
- java.lang.Object
-
- org.jvnet.jaxb.annox.reader.resourced.NXConverter
-
public class NXConverter extends Object
-
-
Constructor Summary
Constructors Constructor Description NXConverter()NXConverter(XAnnotationParser xannotationParser, ClassLoader classLoader)
-
Method Summary
-
-
-
Constructor Detail
-
NXConverter
public NXConverter()
-
NXConverter
public NXConverter(XAnnotationParser xannotationParser, ClassLoader classLoader)
-
-
Method Detail
-
getXAnnotationParser
protected XAnnotationParser getXAnnotationParser()
-
getClassLoader
protected ClassLoader getClassLoader()
-
convertNPackage
public XPackage convertNPackage(Package thePackage, NPackage npackage) throws ClassNotFoundException, NoSuchFieldException, NoSuchMethodException, AnnotationElementParseException
-
convertNClass
public XClass convertNClass(Class<?> theClass, NClass nclass) throws ClassNotFoundException, NoSuchFieldException, NoSuchMethodException, AnnotationElementParseException
-
convertNField
public XField convertNField(Class<?> theClass, NField nfield) throws NoSuchFieldException, AnnotationElementParseException
-
convertNConstructor
public XConstructor convertNConstructor(Class<?> theClass, NConstructor nconstructor) throws ClassNotFoundException, NoSuchMethodException, AnnotationElementParseException
-
convertNMethod
public XMethod convertNMethod(Class<?> theClass, NMethod nmethod) throws ClassNotFoundException, NoSuchMethodException, AnnotationElementParseException
-
convertNParameters
public XParameter[] convertNParameters(Class<?>[] parameterTypes, List<NParameter> nparameters) throws AnnotationElementParseException
- Throws:
AnnotationElementParseException
-
convertNParameter
public XParameter convertNParameter(Class<?> parameterType, NParameter nparameter) throws AnnotationElementParseException
- Throws:
AnnotationElementParseException
-
getClass
protected Class<?> getClass(Package thePackage, String name) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
getField
protected Field getField(Class<?> theClass, String name) throws NoSuchFieldException
- Throws:
NoSuchFieldException
-
getConstructor
protected Constructor<?> getConstructor(Class<?> theClass, Class<?>[] arguments) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getMethod
protected Method getMethod(Class<?> theClass, String name, Class<?>[] arguments) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
parseAnnotations
protected XAnnotation<?>[] parseAnnotations(List<Element> elements) throws AnnotationElementParseException
- Throws:
AnnotationElementParseException
-
parseArguments
protected Class<?>[] parseArguments(String arguments) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
-