Codota Logo
XMLProperties
Code IndexAdd Codota to your IDE (free)

How to use
XMLProperties
in
org.castor.xml

Best Java code snippets using org.castor.xml.XMLProperties (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: org.codehaus.castor/castor-xml-schema

/**
 * Creates an instance of {@link SchemaContextImpl}.
 */
public SchemaContextImpl() {
 super();
 _properties = XMLProperties.newInstance();
}
origin: org.codehaus.castor/castor-xml

/**
 * Construct properties with given parent. Application and domain class loaders will be
 * initialized to the ones of the parent. <br/>
 * Note: This constructor is not intended for public use. Use one of the newInstance() methods
 * instead.
 * 
 * @param parent Parent properties.
 */
public XMLProperties(final AbstractProperties parent) {
 super(parent);
 loadDefaultProperties(FILEPATH, FILENAME);
}
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-xml

public AbstractInternalContext() {
 _properties = XMLProperties.newInstance();
 // TODO[WG]: remove once injection works
 _javaNaming = new JavaNamingImpl(this);
}
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-codegen

AbstractProperties rtconf = XMLProperties.newInstance();
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

Javadoc

Properties of XML module.

Most used methods

  • newInstance
    Factory method for a XML properties instance that uses the specified class loaders. The properties i
  • <init>
    Construct properties with given parent. Application and domain class loaders will be initialized to
  • loadDefaultProperties

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JFileChooser (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now