Package org.bremersee.xml
Class JaxbContextData
java.lang.Object
org.bremersee.xml.JaxbContextData
- All Implemented Interfaces:
Comparable<JaxbContextData>
,JaxbContextMember
public final class JaxbContextData
extends Object
implements 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
JaxbContextMember.ClazzBuilder, JaxbContextMember.ClazzBuilderImpl, JaxbContextMember.JaxbContextMemberImpl, JaxbContextMember.PakkageBuilder, 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 TypeMethodDescriptionint
getJaxbClasses
(ClassLoader... classLoaders) Gets jaxb classes.Gets name spaces with schema locations.Gets pakkage.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
Description copied from interface:JaxbContextMember
Gets pakkage.- Specified by:
getPakkage
in interfaceJaxbContextMember
- Returns:
- the pakkage
-
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:
compareTo
in interfaceComparable<JaxbContextData>
-