|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.Element
com.google.gdata.model.XmlBlob
public class XmlBlob
Arbitrary self-contained block of XML.
Need to support multi-rooted content e.g. <a/><b/>
.
Field Summary | |
---|---|
static ElementKey<java.lang.Void,XmlBlob> |
KEY
The id-less key for XmlBlob, a real name must be set before being used. |
Constructor Summary | |
---|---|
XmlBlob(ElementKey<?,? extends XmlBlob> key)
Constructs a new instance using the specified element key. |
Method Summary | |
---|---|
java.lang.String |
getBase()
Initial xml:base value. |
java.lang.String |
getBlob()
Get blob content. |
java.lang.String |
getFullText()
Get blob content full-text indexing. |
java.lang.String |
getLang()
Initial xml:lang value. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
void |
setBase(java.lang.String v)
|
void |
setBlob(java.lang.String v)
Set blob content. |
void |
setFullText(java.lang.String v)
Set blob content full-text indexing. |
void |
setLang(java.lang.String v)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,XmlBlob> KEY
Constructor Detail |
---|
public XmlBlob(ElementKey<?,? extends XmlBlob> key)
key
- the element key for this element.Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public java.lang.String getLang()
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.
public void setLang(java.lang.String v)
public java.lang.String getBase()
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.
public void setBase(java.lang.String v)
public java.lang.String getBlob()
public void setBlob(java.lang.String v)
v
- blob contentpublic java.lang.String getFullText()
public void setFullText(java.lang.String v)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |