Dali Provisional API
Release 3.2

org.eclipse.jpt.jaxb.core
Class JaxbPreferences

java.lang.Object
  extended by org.eclipse.jpt.jaxb.core.JaxbPreferences

public class JaxbPreferences
extends Object

Public access to the Dali JAXB preferences.

Preferences are a cross between public, model-related state and private, plug-in-related state; thus this public facade to state that is (traditionally) scoped by the source code's plug-in location. Another complication is that preferences must be available even when a model is not (yet) present (e.g. for a "creation" wizard).

Provisional API: This class is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
3.3

Method Summary
static String getClassGenPackage(IProject project)
           
static String getJaxbPlatformID(IProject project)
           
static List<String> getSchemaLocations(IProject project)
           
static void setClassGenPackage(IProject project, String packageName)
           
static void setJaxbPlatformID(IProject project, String jaxbPlatformID)
           
static void setSchemaLocations(IProject project, List<String> schemaLocations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJaxbPlatformID

public static String getJaxbPlatformID(IProject project)

setJaxbPlatformID

public static void setJaxbPlatformID(IProject project,
                                     String jaxbPlatformID)

getSchemaLocations

public static List<String> getSchemaLocations(IProject project)

setSchemaLocations

public static void setSchemaLocations(IProject project,
                                      List<String> schemaLocations)

getClassGenPackage

public static String getClassGenPackage(IProject project)

setClassGenPackage

public static void setClassGenPackage(IProject project,
                                      String packageName)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.