public class XmlBlob extends Object
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
XmlBlob() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected String lang
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 String base
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 LinkedList<XmlNamespace> namespaces
protected String blob
public String getLang()
public void setLang(String v)
public String getBase()
public void setBase(String v)
public List<XmlNamespace> getNamespaces()
public boolean addNamespace(XmlNamespace namespace)
public String getBlob()
public void setBlob(String v)
public String getFullText()
public void setFullText(String v)
public static void startElement(XmlWriter w, XmlNamespace namespace, String elementName, XmlBlob xml, Collection<XmlWriter.Attribute> additionalAttrs, Collection<XmlNamespace> additionalNs) throws IOException
IOExceptionpublic static void endElement(XmlWriter w, XmlNamespace namespace, String elementName, XmlBlob xml) throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.