public class XmlBlob extends Element
Need to support multi-rooted content e.g. <a/><b/>
.
Modifier and Type | Field and Description |
---|---|
static ElementKey<java.lang.Void,XmlBlob> |
KEY
The id-less key for XmlBlob, a real name must be set before being used.
|
Constructor and Description |
---|
XmlBlob(ElementKey<?,? extends XmlBlob> key)
Constructs a new instance using the specified element key.
|
Modifier and Type | Method and Description |
---|---|
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) |
addElement, addElement, addElement, clear, createElement, createElement, equals, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hashCode, hasTextValue, isLocked, lock, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, visit
public static final ElementKey<java.lang.Void,XmlBlob> KEY
public XmlBlob(ElementKey<?,? extends XmlBlob> key)
key
- the element key for this element.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)