Class ProfileTypes

java.lang.Object
org.apache.sis.internal.jaxb.TypeRegistration
org.apache.sis.internal.profile.fra.ProfileTypes

public final class ProfileTypes extends TypeRegistration
Completes the JAXB context with classes specific to the French profile. This class is declared in the META-INF/services/org.apache.sis.internal.jaxb.TypeRegistration file.
Since:
0.4
Version:
1.0
  • Constructor Details

    • ProfileTypes

      public ProfileTypes()
  • Method Details

    • getTypes

      protected void getTypes(Collection<Class<?>> addTo)
      Adds to the given collection the metadata types that should be given to the initial JAXB context.
      Specified by:
      getTypes in class TypeRegistration
      Parameters:
      addTo - the collection in which to add new types.
    • hasRenameFile

      protected boolean hasRenameFile(boolean export)
      Returns true for export = false in order to notify that we provide a "RenameOnImport.lst" file that need to be read.
      Overrides:
      hasRenameFile in class TypeRegistration
      Parameters:
      export -  true for "RenameOnImport.lst", false for "RenameOnImport.lst".
      Returns:
      true for "RenameOnImport.lst", false otherwise.