本文整理了Java中com.thoughtworks.xstream.io.xml.XomDriver.getBuilder()
方法的一些代码示例,展示了XomDriver.getBuilder()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XomDriver.getBuilder()
方法的具体详情如下:
包路径:com.thoughtworks.xstream.io.xml.XomDriver
类名称: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();
}
内容来源于网络,如有侵权,请联系作者删除!