Tabnine Logo
XStreamConfiguration
Code IndexAdd Tabnine to your IDE (free)

How to use
XStreamConfiguration
in
org.apache.shindig.protocol.conversion.xstream

Best Java code snippets using org.apache.shindig.protocol.conversion.xstream.XStreamConfiguration (Showing top 5 results out of 315)

origin: org.apache.shindig/shindig-common

@Inject
public BeanXStreamConverter(XStreamConfiguration configuration) {
 ReflectionProvider rp = new PureJavaReflectionProvider();
 Mapper dmapper = new DefaultMapper(this.getClass().getClassLoader());
 /*
  * Putting this here means only one conversion per thread may be active at
  * any one time, but since the conversion process is atomic this will not
  * matter unless the class is extended.
  */
 writerStack = new ThreadSafeWriterStack();
 /*
  * create a driver that wires into a standard driver, and updates the stack
  * position.
  */
 HierarchicalStreamDriver driver = new StackDriver(new XppDriver(), writerStack, configuration.getNameSpaces());
 /*
  * Create an interface class mapper that understands class hierarchy for
  * single items
  */
 for (XStreamConfiguration.ConverterSet c : MAPPER_SCOPES) {
  converterMap.put(c, configuration.getConverterConfig(c, rp,dmapper, driver,writerStack));
 }
}
origin: apache/shindig

@Inject
public BeanXStreamConverter(XStreamConfiguration configuration) {
 ReflectionProvider rp = new PureJavaReflectionProvider();
 Mapper dmapper = new DefaultMapper(this.getClass().getClassLoader());
 /*
  * Putting this here means only one conversion per thread may be active at
  * any one time, but since the conversion process is atomic this will not
  * matter unless the class is extended.
  */
 writerStack = new ThreadSafeWriterStack();
 /*
  * create a driver that wires into a standard driver, and updates the stack
  * position.
  */
 HierarchicalStreamDriver driver = new StackDriver(new XppDriver(), writerStack, configuration.getNameSpaces());
 /*
  * Create an interface class mapper that understands class hierarchy for
  * single items
  */
 for (XStreamConfiguration.ConverterSet c : MAPPER_SCOPES) {
  converterMap.put(c, configuration.getConverterConfig(c, rp,dmapper, driver,writerStack));
 }
}
origin: org.gatein.shindig/shindig-common

@Inject
public BeanXStreamConverter(XStreamConfiguration configuration) {
 rp = new PureJavaReflectionProvider();
 Mapper dmapper = new DefaultMapper(this.getClass().getClassLoader());
 /*
  * Putting this here means only one conversion per thread may be active at
  * any one time, but since the conversion process is atomic this will not
  * matter unless the class is extended.
  */
 writerStack = new ThreadSafeWriterStack();
 /*
  * create a driver that wires into a standard driver, and updates the stack
  * position.
  */
 driver = new StackDriver(new XppDriver(), writerStack, configuration.getNameSpaces());
 /*
  * Create an interface class mapper that understands class hierarchy for
  * single items
  */
 for (XStreamConfiguration.ConverterSet c : MAPPER_SCOPES) {
  converterMap.put(c, configuration.getConverterConfig(c,rp,dmapper,driver,writerStack));
 }
}
origin: org.wso2.org.apache.shindig/shindig-common

@Inject
public BeanXStreamConverter(XStreamConfiguration configuration) {
 ReflectionProvider rp = new PureJavaReflectionProvider();
 Mapper dmapper = new DefaultMapper(this.getClass().getClassLoader());
 /*
  * Putting this here means only one conversion per thread may be active at
  * any one time, but since the conversion process is atomic this will not
  * matter unless the class is extended.
  */
 writerStack = new ThreadSafeWriterStack();
 /*
  * create a driver that wires into a standard driver, and updates the stack
  * position.
  */
 HierarchicalStreamDriver driver = new StackDriver(new XppDriver(), writerStack, configuration.getNameSpaces());
 /*
  * Create an interface class mapper that understands class hierarchy for
  * single items
  */
 for (XStreamConfiguration.ConverterSet c : MAPPER_SCOPES) {
  converterMap.put(c, configuration.getConverterConfig(c, rp,dmapper, driver,writerStack));
 }
}
origin: com.lmco.shindig/shindig-common

@Inject
public BeanXStreamConverter(XStreamConfiguration configuration) {
 rp = new PureJavaReflectionProvider();
 Mapper dmapper = new DefaultMapper(this.getClass().getClassLoader());
 /*
  * Putting this here means only one conversion per thread may be active at
  * any one time, but since the conversion process is atomic this will not
  * matter unless the class is extended.
  */
 writerStack = new ThreadSafeWriterStack();
 /*
  * create a driver that wires into a standard driver, and updates the stack
  * position.
  */
 driver = new StackDriver(new XppDriver(), writerStack, configuration.getNameSpaces());
 /*
  * Create an interface class mapper that understands class hierarchy for
  * single items
  */
 for (XStreamConfiguration.ConverterSet c : MAPPER_SCOPES) {
  converterMap.put(c, configuration.getConverterConfig(c,rp,dmapper,driver,writerStack));
 }
}
org.apache.shindig.protocol.conversion.xstreamXStreamConfiguration

Javadoc

The configuration for the XStream converter, this class encapsulates the lists and maps that define the how xstream converts the model.

Most used methods

  • getConverterConfig
    Generate the converter config.
  • getNameSpaces

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • getContentResolver (Context)
  • startActivity (Activity)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Option (scala)
  • From CI to AI: The AI layer in your organization
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