Class NXConverter
java.lang.Object
org.jvnet.basicjaxb_annox.reader.resourced.NXConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertNClass(Class<?> theClass, NClass nclass) convertNConstructor(Class<?> theClass, NConstructor nconstructor) convertNField(Class<?> theClass, NField nfield) convertNMethod(Class<?> theClass, NMethod nmethod) convertNPackage(Package thePackage, NPackage npackage) convertNParameter(Class<?> parameterType, NParameter nparameter) convertNParameters(Class<?>[] parameterTypes, List<NParameter> nparameters) protected Class<?>protected ClassLoaderprotected Constructor<?>getConstructor(Class<?> theClass, Class<?>[] arguments) protected Fieldprotected Methodprotected XAnnotationParserprotected XAnnotation<?>[]parseAnnotations(List<Element> elements) protected Class<?>[]parseArguments(String arguments)
-
Constructor Details
-
NXConverter
public NXConverter() -
NXConverter
-
-
Method Details
-
getXAnnotationParser
-
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
- Throws:
ClassNotFoundException
-
getField
- 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
- Throws:
ClassNotFoundException
-