com.google.api.client.http.xml
Class XmlHttpParser.Builder

java.lang.Object
  extended by com.google.api.client.http.xml.XmlHttpParser.Builder
Enclosing class:
XmlHttpParser

public static class XmlHttpParser.Builder
extends Object

Builder for XmlHttpParser.

Implementation is not thread-safe.

Since:
1.5

Constructor Summary
protected XmlHttpParser.Builder(XmlNamespaceDictionary namespaceDictionary)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlHttpParser.Builder

protected XmlHttpParser.Builder(XmlNamespaceDictionary namespaceDictionary)
Parameters:
namespaceDictionary - XML namespace dictionary
Method Detail

build

public XmlHttpParser build()
Builds a new instance of XmlHttpParser.


getContentType

public final String getContentType()
Returns the content type or null for none.


setContentType

public XmlHttpParser.Builder setContentType(String contentType)
Sets the content type.

Default value is XmlHttpParser.CONTENT_TYPE.


getNamespaceDictionary

public final XmlNamespaceDictionary getNamespaceDictionary()
Returns the XML namespace dictionary.



Copyright © 2011-2012 Google. All Rights Reserved.