public class

XmlBlob

extends Object
java.lang.Object
   ↳ com.google.gdata.util.XmlBlob

Class Overview

Arbitrary self-contained block of XML.

Summary

Fields
protected String base Initial xml:base value.
protected String blob Contents of the blob.
protected String fullText Contains strings from blob for full-text indexing.
protected String lang Initial xml:lang value.
protected LinkedList<XmlNamespace> namespaces Namespace declarations inherited when this blob was parsed but used within it.
Public Constructors
XmlBlob()
Public Methods
boolean addNamespace(XmlNamespace namespace)
static void endElement(XmlWriter w, XmlNamespace namespace, String elementName, XmlBlob xml)
Generates an element closing tag containing an XML blob.
String getBase()
String getBlob()
String getFullText()
String getLang()
List<XmlNamespace> getNamespaces()
void setBase(String v)
void setBlob(String v)
void setFullText(String v)
void setLang(String v)
static void startElement(XmlWriter w, XmlNamespace namespace, String elementName, XmlBlob xml, Collection<XmlWriter.Attribute> additionalAttrs, Collection<XmlNamespace> additionalNs)
Generates an element opening tag containing an XML blob.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String base

Initial xml:base value. This value is typically inherited through the XML tree. The blob itself may contain overrides.

See http://www.cafeconleche.org/books/xmljava/chapters/ch03s03.html for more information.

protected String blob

Contents of the blob. Depending on how the blob was parsed, it may contain top-level text() nodes mixed together with child elements.

protected String fullText

Contains strings from blob for full-text indexing. Valid only when this blob comes from XmlParser.

protected String lang

Initial xml:lang value. This value is typically inherited through the XML tree. The blob itself may contain overrides.

See http://www.w3.org/TR/REC-xml/#sec-lang-tag for more information.

protected LinkedList<XmlNamespace> namespaces

Namespace declarations inherited when this blob was parsed but used within it.

Public Constructors

public XmlBlob ()

Public Methods

public boolean addNamespace (XmlNamespace namespace)

Parameters
namespace

public static void endElement (XmlWriter w, XmlNamespace namespace, String elementName, XmlBlob xml)

Generates an element closing tag containing an XML blob.

Parameters
w
namespace
elementName
xml
Throws
IOException

public String getBase ()

public String getBlob ()

public String getFullText ()

public String getLang ()

public List<XmlNamespace> getNamespaces ()

public void setBase (String v)

Parameters
v

public void setBlob (String v)

Parameters
v

public void setFullText (String v)

Parameters
v

public void setLang (String v)

Parameters
v

public static void startElement (XmlWriter w, XmlNamespace namespace, String elementName, XmlBlob xml, Collection<XmlWriter.Attribute> additionalAttrs, Collection<XmlNamespace> additionalNs)

Generates an element opening tag containing an XML blob.

Parameters
w
namespace
elementName
xml
additionalAttrs
additionalNs
Throws
IOException