com.thoughtworks.xstream.io.xml.XomDriver.getBuilder()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中com.thoughtworks.xstream.io.xml.XomDriver.getBuilder()方法的一些代码示例,展示了XomDriver.getBuilder()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XomDriver.getBuilder()方法的具体详情如下:
包路径:com.thoughtworks.xstream.io.xml.XomDriver
类名称:XomDriver
方法名:getBuilder

XomDriver.getBuilder介绍

暂无

代码示例

代码示例来源:origin: com.thoughtworks.xstream/xstream

/**
 * Create the Builder instance.
 *
 * A XOM builder is a wrapper around a {@link org.xml.sax.XMLReader}
 * instance which is not thread-safe by definition. Therefore each reader
 * should use its own builder instance to avoid concurrency problems.
 *
 * Overload this method to configure the generated builder instances e.g.
 * to activate validation.
 *
 * @return the new builder
 * @since 1.4.9
 */
protected Builder createBuilder() {
  final Builder builder = getBuilder();
  return builder != null ? builder : new Builder();
}

代码示例来源:origin: x-stream/xstream

/**
 * Create the Builder instance. A XOM builder is a wrapper around a {@link org.xml.sax.XMLReader} instance which is
 * not thread-safe by definition. Therefore each reader should use its own builder instance to avoid concurrency
 * problems. Overload this method to configure the generated builder instances e.g. to activate validation.
 *
 * @return the new builder
 * @since 1.4.9
 */
protected Builder createBuilder() {
  final Builder builder = getBuilder();
  return builder != null ? builder : new Builder();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream-java8

/**
 * Create the Builder instance.
 *
 * A XOM builder is a wrapper around a {@link org.xml.sax.XMLReader}
 * instance which is not thread-safe by definition. Therefore each reader
 * should use its own builder instance to avoid concurrency problems.
 *
 * Overload this method to configure the generated builder instances e.g.
 * to activate validation.
 *
 * @return the new builder
 * @since 1.4.9
 */
protected Builder createBuilder() {
  final Builder builder = getBuilder();
  return builder != null ? builder : new Builder();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream

/**
 * Create the Builder instance.
 *
 * A XOM builder is a wrapper around a {@link org.xml.sax.XMLReader}
 * instance which is not thread-safe by definition. Therefore each reader
 * should use its own builder instance to avoid concurrency problems.
 *
 * Overload this method to configure the generated builder instances e.g.
 * to activate validation.
 *
 * @return the new builder
 * @since 1.4.9
 */
protected Builder createBuilder() {
  final Builder builder = getBuilder();
  return builder != null ? builder : new Builder();
}

代码示例来源:origin: apache/servicemix-bundles

/**
 * Create the Builder instance.
 *
 * A XOM builder is a wrapper around a {@link org.xml.sax.XMLReader}
 * instance which is not thread-safe by definition. Therefore each reader
 * should use its own builder instance to avoid concurrency problems.
 *
 * Overload this method to configure the generated builder instances e.g.
 * to activate validation.
 *
 * @return the new builder
 * @since 1.4.9
 */
protected Builder createBuilder() {
  final Builder builder = getBuilder();
  return builder != null ? builder : new Builder();
}

相关文章