congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
XStreamConfiguration.getConverterConfig
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.apache.shindig.protocol.conversion.xstream.XStreamConfiguration.getConverterConfig (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.xstreamXStreamConfigurationgetConverterConfig

Javadoc

Generate the converter config.

Popular methods of XStreamConfiguration

  • getNameSpaces

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JButton (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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