Package org.meeuw.jaxbdocumentation
Class Utils
- java.lang.Object
-
- org.meeuw.jaxbdocumentation.Utils
-
public class Utils extends Object
- Since:
- 0.3
- Author:
- Michiel Meeuwissen
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Source>documentationSchemaSources(Class<?>... classes)static Map<String,Source>schemaSources(Class<?>... classes)Returns XSD schema's as a map ofSource's.
-
-
-
Method Detail
-
schemaSources
public static Map<String,Source> schemaSources(Class<?>... classes) throws jakarta.xml.bind.JAXBException, IOException
Returns XSD schema's as a map ofSource's. The key is the namespace.- Parameters:
classes- To create schema's for.- Returns:
- a map with
Sources - Throws:
jakarta.xml.bind.JAXBException- If something wrong with jaxbIOException- if io
-
documentationSchemaSources
public static Map<String,Source> documentationSchemaSources(Class<?>... classes) throws jakarta.xml.bind.JAXBException, IOException, SAXException, TransformerException
- Throws:
jakarta.xml.bind.JAXBExceptionIOExceptionSAXExceptionTransformerException
-
-