Constructor and Description |
---|
ResourcedXReader() |
ResourcedXReader(ClassLoader classLoader) |
ResourcedXReader(ClassLoader classLoader,
javax.xml.bind.JAXBContext context,
XAnnotationParser xannotationParser) |
ResourcedXReader(ClassLoader classLoader,
NParser nparser,
NXConverter nxconverter) |
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
getClassLoader() |
protected NParser |
getNParser() |
protected NXConverter |
getNXConverter() |
protected String |
getResourceName(Class<?> theClass) |
protected String |
getResourceName(Package thePackage) |
XClass |
getXClass(Class<?> theClass) |
XConstructor |
getXConstructor(Class<?> theClass,
Constructor<?> theConstructor) |
XConstructor |
getXConstructor(Constructor<?> theConstructor) |
XField |
getXField(Class<?> theClass,
Field theField) |
XField |
getXField(Field theField) |
XMethod |
getXMethod(Class<?> theClass,
Method theMethod) |
XMethod |
getXMethod(Method theMethod) |
XPackage |
getXPackage(Package thePackage) |
protected XClass |
loadXClass(Class<?> theClass,
InputStream is) |
protected XPackage |
loadXPackage(Package thePackage,
InputStream is) |
protected XClass |
parseXClass(Class<?> theClass,
InputStream is) |
protected XPackage |
parseXPackage(Package thePackage,
InputStream is) |
public ResourcedXReader()
public ResourcedXReader(ClassLoader classLoader)
public ResourcedXReader(ClassLoader classLoader, javax.xml.bind.JAXBContext context, XAnnotationParser xannotationParser)
public ResourcedXReader(ClassLoader classLoader, NParser nparser, NXConverter nxconverter)
protected ClassLoader getClassLoader()
protected NParser getNParser()
protected NXConverter getNXConverter()
public XPackage getXPackage(Package thePackage) throws AnnotatedElementException
getXPackage
in interface XReader
AnnotatedElementException
public XClass getXClass(Class<?> theClass) throws AnnotatedElementException
getXClass
in interface XReader
AnnotatedElementException
public XField getXField(Field theField) throws AnnotatedElementException
getXField
in interface XReader
AnnotatedElementException
public XField getXField(Class<?> theClass, Field theField) throws AnnotatedElementException
getXField
in interface XReader
AnnotatedElementException
public XConstructor getXConstructor(Constructor<?> theConstructor) throws AnnotatedElementException
getXConstructor
in interface XReader
AnnotatedElementException
public XConstructor getXConstructor(Class<?> theClass, Constructor<?> theConstructor) throws AnnotatedElementException
getXConstructor
in interface XReader
AnnotatedElementException
public XMethod getXMethod(Method theMethod) throws AnnotatedElementException
getXMethod
in interface XReader
AnnotatedElementException
public XMethod getXMethod(Class<?> theClass, Method theMethod) throws AnnotatedElementException
getXMethod
in interface XReader
AnnotatedElementException
protected XPackage loadXPackage(Package thePackage, InputStream is) throws IOException, ClassNotFoundException, NoSuchFieldException, NoSuchMethodException, AnnotationElementParseException
protected XClass loadXClass(Class<?> theClass, InputStream is) throws IOException, ClassNotFoundException, NoSuchFieldException, NoSuchMethodException, AnnotationElementParseException
protected XPackage parseXPackage(Package thePackage, InputStream is) throws IOException, ClassNotFoundException, NoSuchFieldException, NoSuchMethodException, AnnotationElementParseException
protected XClass parseXClass(Class<?> theClass, InputStream is) throws IOException, ClassNotFoundException, NoSuchFieldException, NoSuchMethodException, AnnotationElementParseException
Copyright © 2006–2016 Highsource. All rights reserved.