|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jopendocument.dom.OOXML
public class OOXML
Various bits of OpenDocument XML.
get(XMLVersion)| Method Summary | |
|---|---|
static String |
encodeOOWS(String s)
Deprecated. see encodeWS(String) |
protected List |
encodeRT_L(String content,
Map styles)
|
org.jdom.Element |
encodeRT(String content,
Map styles)
Convert rich text (with [] tags) into XML. |
org.jdom.Element |
encodeWS(org.jdom.Element elem)
|
org.jdom.Element |
encodeWS(String s)
Encode a String to OO XML. |
void |
encodeWS(org.jdom.Text t)
|
static OOXML |
get(XMLVersion version)
Returns the instance that match the requested version. |
org.jdom.Element |
getLineBreak()
|
static String |
getLineBreakS()
|
org.jdom.Element |
getTab()
|
String |
getTabS()
Deprecated. use getTab() |
XMLVersion |
getVersion()
|
String |
isValid(org.jdom.Document doc)
Verify that the passed document is a valid OpenOffice.org 1 or ODF document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static OOXML get(XMLVersion version)
version - the version.
public static final String getLineBreakS()
public static final String encodeOOWS(String s)
encodeWS(String)
s - a string to encode, eg "hi\n 3<4".
public final XMLVersion getVersion()
public final String isValid(org.jdom.Document doc)
doc - the xml to test.
null if doc is valid, a String describing the pb otherwise.public final org.jdom.Element getLineBreak()
public final org.jdom.Element getTab()
public final String getTabS()
getTab()
protected final List encodeRT_L(String content,
Map styles)
public final org.jdom.Element encodeRT(String content,
Map styles)
content - the string to convert, eg "texte [b]gras[/b]".styles - the mapping from tagname (eg "b") to the name of the character style (eg
"Gras").
public final org.jdom.Element encodeWS(String s)
s - a plain ole String, eg "term\tdefinition".
<text:span>term<text:tab-stop/>definition</text:span>
.public final void encodeWS(org.jdom.Text t)
public final org.jdom.Element encodeWS(org.jdom.Element elem)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||