public static class XmlHttpParser.Builder extends Object
XmlHttpParser
.
Implementation is not thread-safe.
Modifier | Constructor and Description |
---|---|
protected |
XmlHttpParser.Builder(XmlNamespaceDictionary namespaceDictionary) |
Modifier and Type | Method and Description |
---|---|
XmlHttpParser |
build()
Builds a new instance of
XmlHttpParser . |
String |
getContentType()
Returns the content type or
null for none. |
XmlNamespaceDictionary |
getNamespaceDictionary()
Returns the XML namespace dictionary.
|
XmlHttpParser.Builder |
setContentType(String contentType)
Sets the content type.
|
protected XmlHttpParser.Builder(XmlNamespaceDictionary namespaceDictionary)
namespaceDictionary
- XML namespace dictionarypublic XmlHttpParser build()
XmlHttpParser
.public final String getContentType()
null
for none.public XmlHttpParser.Builder setContentType(String contentType)
Default value is XmlHttpParser.CONTENT_TYPE
.
public final XmlNamespaceDictionary getNamespaceDictionary()
Copyright © 2011-2012 Google. All Rights Reserved.