/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }