|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.xml.encoding.XmlDescriptor.Builder
public static final class XmlDescriptor.Builder
The builder for XMLDescriptor
instances.
Constructor Summary | |
---|---|
XmlDescriptor.Builder() |
Method Summary | |
---|---|
XmlDescriptor |
build() Creates the instance upon the builder's data. |
XmlDescriptor.Builder |
withEncoding(String encoding) Sets the detected encoding. |
XmlDescriptor.Builder |
withPublicId(String publicId) Sets the detected public ID version. |
XmlDescriptor.Builder |
withSystemId(String systemId) Sets the detected system ID version. |
XmlDescriptor.Builder |
withVersion(String version) Sets the detected XML version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlDescriptor.Builder()
Method Detail |
---|
public XmlDescriptor.Builder withVersion(String version)
version
- the detected XML version.
public XmlDescriptor.Builder withEncoding(String encoding)
encoding
- the detected encoding.
public XmlDescriptor.Builder withPublicId(String publicId)
publicId
- the detected public ID version.
public XmlDescriptor.Builder withSystemId(String systemId)
systemId
- the detected system ID version.
public XmlDescriptor build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |