Package org.bremersee.xml
Class JaxbContextData
java.lang.Object
org.bremersee.xml.JaxbContextData
- All Implemented Interfaces:
Comparable<JaxbContextData>,org.bremersee.xml.JaxbContextMember
public final class JaxbContextData
extends Object
implements org.bremersee.xml.JaxbContextMember, Comparable<JaxbContextData>
Meta-data to describe a xml model.
- Author:
- Christian Bremer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bremersee.xml.JaxbContextMember
org.bremersee.xml.JaxbContextMember.ClazzBuilder, org.bremersee.xml.JaxbContextMember.ClazzBuilderImpl, org.bremersee.xml.JaxbContextMember.JaxbContextMemberImpl, org.bremersee.xml.JaxbContextMember.PakkageBuilder, org.bremersee.xml.JaxbContextMember.PakkageBuilderImpl -
Constructor Summary
ConstructorsConstructorDescriptionJaxbContextData(Class<?> clazz) Instantiates a new jaxb context data.JaxbContextData(Class<?> clazz, String pakkageSchemaLocation) Instantiates a new Jaxb context data.JaxbContextData(Class<?> clazz, String clazzElementSchemaLocation, String clazzTypeSchemaLocation) Instantiates a new jaxb context data.JaxbContextData(Package pakkage) Instantiates a new jaxb context data.JaxbContextData(Package pakkage, String pakkageSchemaLocation) Instantiates a new jaxb context data. -
Method Summary
Modifier and TypeMethodDescriptionintgetJaxbClasses(ClassLoader... classLoaders) Gets jaxb classes.Gets name spaces with schema locations.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bremersee.xml.JaxbContextMember
getClazz, getClazzElementSchemaLocation, getClazzTypeSchemaLocation, getPakkageSchemaLocation
-
Constructor Details
-
JaxbContextData
Instantiates a new jaxb context data.- Parameters:
clazz- the class
-
JaxbContextData
public JaxbContextData(Class<?> clazz, String clazzElementSchemaLocation, String clazzTypeSchemaLocation) Instantiates a new jaxb context data.- Parameters:
clazz- the classclazzElementSchemaLocation- the class element schema locationclazzTypeSchemaLocation- the class type schema location
-
JaxbContextData
Instantiates a new jaxb context data.- Parameters:
pakkage- the package
-
JaxbContextData
Instantiates a new Jaxb context data.- Parameters:
clazz- the classpakkageSchemaLocation- the package schema location
-
JaxbContextData
Instantiates a new jaxb context data.- Parameters:
pakkage- the packagepakkageSchemaLocation- the package schema location
-
-
Method Details
-
getPakkage
- Specified by:
getPakkagein interfaceorg.bremersee.xml.JaxbContextMember
-
getJaxbClasses
Gets jaxb classes.- Parameters:
classLoaders- the class loaders- Returns:
- the jaxb classes
-
getNameSpacesWithSchemaLocations
Gets name spaces with schema locations.- Returns:
- the name spaces with schema locations
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<JaxbContextData>
-