Package org.beanio.builder
Class XmlParserBuilder
- java.lang.Object
-
- org.beanio.builder.ParserBuilder
-
- org.beanio.builder.XmlParserBuilder
-
public class XmlParserBuilder extends ParserBuilder
Builder for XML parsers.- Since:
- 2.1.0
-
-
Constructor Summary
Constructors Constructor Description XmlParserBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlParserBuilder
addNamespace(java.lang.String prefix, java.lang.String uri)
BeanConfig<RecordParserFactory>
build()
XmlParserBuilder
headerEncoding(java.lang.String encoding)
XmlParserBuilder
headerVersion(java.lang.String version)
XmlParserBuilder
indent()
XmlParserBuilder
indent(int amount)
XmlParserBuilder
lineSeparator(java.lang.String sep)
XmlParserBuilder
suppressHeader()
-
-
-
Method Detail
-
suppressHeader
public XmlParserBuilder suppressHeader()
-
headerVersion
public XmlParserBuilder headerVersion(java.lang.String version)
-
headerEncoding
public XmlParserBuilder headerEncoding(java.lang.String encoding)
-
addNamespace
public XmlParserBuilder addNamespace(java.lang.String prefix, java.lang.String uri)
-
indent
public XmlParserBuilder indent()
-
indent
public XmlParserBuilder indent(int amount)
-
lineSeparator
public XmlParserBuilder lineSeparator(java.lang.String sep)
-
build
public BeanConfig<RecordParserFactory> build()
- Specified by:
build
in classParserBuilder
-
-