congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
XMLProperties.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.castor.xml.XMLProperties
constructor

Best Java code snippets using org.castor.xml.XMLProperties.<init> (Showing top 4 results out of 315)

origin: org.codehaus.castor/castor-xml

/**
 * Factory method for a default XML properties instance. Application and domain class loaders will
 * be initialised to the one used to load this class. The properties instance returned will be a
 * CastorProperties with a XMLProperties and a CoreProperties instance as parents. The
 * CastorProperties holding user specific properties is the only one that can be modified by put()
 * and remove() methods. XMLProperties and CoreProperties are responsible to deliver Castor's
 * default values if they have not been overwritten by the user.
 * 
 * @return Properties instance for Castor XML module.
 */
public static AbstractProperties newInstance() {
 AbstractProperties core = new CoreProperties();
 AbstractProperties xml = new XMLProperties(core);
 AbstractProperties castor = new CastorProperties(xml);
 return castor;
}
origin: org.codehaus.castor/castor-xml

/**
 * Factory method for a XML properties instance that uses the specified class loaders. The
 * properties instance returned will be a CastorProperties with a XMLProperties and a
 * CoreProperties instance as parents. The CastorProperties holding user specific properties is
 * the only one that can be modified by put() and remove() methods. XMLProperties and
 * CoreProperties are responsible to deliver Castor's default values if they have not been
 * overwritten by the user.
 * 
 * @param app {@link ClassLoader} to be used for all classes of Castor and its required libraries.
 * @param domain {@link ClassLoader} to be used for all domain objects.
 * @return Properties instance for Castor XML module.
 */
public static AbstractProperties newInstance(final ClassLoader app, final ClassLoader domain) {
 AbstractProperties core = new CoreProperties(app, domain);
 AbstractProperties xml = new XMLProperties(core);
 AbstractProperties castor = new CastorProperties(xml);
 return castor;
}
origin: org.codehaus.castor/castor-jdo

/**
 * Factory method for a default CPA properties instance. Application and domain class
 * loaders will be initialized to the one used to load this class. The properties instance
 * returned will be a CastorProperties with a CPAProperties, a XMLProperties and a
 * CoreProperties instance as parents. The CastorProperties holding user specific properties
 * is the only one that can be modified by put() and remove() methods. CPAProperties,
 * XMLProperties and CoreProperties are responsble to deliver Castor's default values if they
 * have not been overwritten by the user.
 * 
 * @return Properties instance for Castor CPA modul.
 */
public static AbstractProperties newInstance() {
  AbstractProperties core = new CoreProperties();
  AbstractProperties cpa = new CPAProperties(core);
  AbstractProperties xml = new XMLProperties(cpa);
  AbstractProperties castor = new CastorProperties(xml);
  return castor;
}
 
origin: org.codehaus.castor/castor-jdo

/**
 * Factory method for a CPA properties instance that uses the specified class loaders. The
 * properties instance returned will be a CastorProperties with a CPAProperties, a
 * XMLProperties and a CoreProperties instance as parents. The CastorProperties
 * holding user specific properties is the only one that can be modified by put() and remove()
 * methods. CPAProperties, XMLProperties and CoreProperties are responsble to deliver
 * Castor's default values if they have not been overwritten by the user.
 * 
 * @param app Classloader to be used for all classes of Castor and its required libraries.
 * @param domain Classloader to be used for all domain objects.
 * @return Properties instance for Castor CPA modul.
 */
public static AbstractProperties newInstance(final ClassLoader app, final ClassLoader domain) {
  AbstractProperties core = new CoreProperties(app, domain);
  AbstractProperties cpa = new CPAProperties(core);
  AbstractProperties xml = new XMLProperties(cpa);
  AbstractProperties castor = new CastorProperties(xml);
  return castor;
}
 
org.castor.xmlXMLProperties<init>

Javadoc

Construct properties with given parent. Application and domain class loaders will be initialized to the ones of the parent.
Note: This constructor is not intended for public use. Use one of the newInstance() methods instead.

Popular methods of XMLProperties

  • newInstance
    Factory method for a XML properties instance that uses the specified class loaders. The properties i
  • loadDefaultProperties

Popular in Java

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now