All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static String |
builtInTypeToJavaType(String type) |
static void |
closeUnmarshaller(Unmarshaller u) |
static JAXBUtils.BridgeWrapper |
createBridge(Set<Class<?>> ctxClasses,
QName qname,
Class<?> refcls,
Annotation[] anns) |
static Object |
createFileCodeWriter(File f) |
static Object |
createFileCodeWriter(File f,
String encoding) |
static JAXBContextProxy |
createJAXBContextProxy(JAXBContext ctx) |
static JAXBContextProxy |
createJAXBContextProxy(JAXBContext ctx,
SchemaCollection collection,
String defaultNs) |
static JAXBUtils.SchemaCompiler |
createSchemaCompiler() |
static JAXBUtils.SchemaCompiler |
createSchemaCompilerWithDefaultAllocator(Set<String> allocatorSet) |
static List<DOMResult> |
generateJaxbSchemas(JAXBContext context,
Map<String,DOMResult> builtIns) |
static JAXBBeanInfo |
getBeanInfo(JAXBContextProxy context,
Class<?> cls) |
static List<String> |
getGeneratedClassNames(JAXBUtils.JCodeModel codeModel) |
static String |
getPackageNamespace(Class<?> cls) |
static Class<?> |
getParamClass(JAXBUtils.SchemaCompiler sc,
String method) |
static Class<?> |
getValidClass(Class<?> cls) |
static Class<?> |
holderClass(String type) |
protected static boolean |
isJavaKeyword(String word)
Checks if the specified word is a Java keyword (as defined in JavaUtils).
|
static boolean |
isJAXB22() |
static void |
logGeneratedClassNames(Logger logger,
JAXBUtils.JCodeModel codeModel) |
static String |
namespaceURIToPackage(String namespaceURI)
Generates a Java package name from a URI according to the
algorithm outlined in JAXB 2.0.
|
static String |
nameSpaceURIToPackage(URI uri)
Generates a Java package name from a URI according to the
algorithm outlined in Appendix D of JAXB (2.0+).
|
static String |
nameToIdentifier(String name,
JAXBUtils.IdentifierType type)
Converts an XML name to a Java identifier according to the mapping
algorithm outlined in the JAXB specification
|
static void |
scanPackages(Set<Class<?>> classes,
Class<?>[] extraClass,
Map<Package,CachedClass> objectFactoryCache) |
static void |
scanPackages(Set<Class<?>> classes,
Map<Package,CachedClass> objectFactoryCache) |
static Object |
setNamespaceMapper(Map<String,String> nspref,
Marshaller marshaller) |
static Object |
unmarshall(JAXBContext c,
Element e) |
static <T> JAXBElement<T> |
unmarshall(JAXBContext c,
Element e,
Class<T> cls) |
static Object |
unmarshall(JAXBContext c,
Source s) |
static Object |
unmarshall(JAXBContext c,
XMLStreamReader reader) |
static <T> JAXBElement<T> |
unmarshall(JAXBContext c,
XMLStreamReader reader,
Class<T> cls) |