de.tuberlin.cs.flp.jspwiki.plugin.wikiarchive
|
|||
protected static
String
|
ATTRIBUTE_ID |
||
public static
String
|
CONTENT_SUFFIX |
||
public static
String
|
CONTENT_TYPE |
||
protected static
String
|
TAGNAME_ENTRY |
|
|||
public
Object
|
createData()
Creates an empty data source to be filled for export.
|
||
protected
void
|
createEntry(Object data, ArchiveEntry entry)
Creates a new archive entry in the data source handled by this ArchiveIOHandler.
|
||
public
String
|
dataToString(Object data)
Converts data source to string for export.
|
||
private static
void
|
entry(Document doc, Element e, String key, String val)
|
||
protected static
Element
|
entry2xml(Document doc, ArchiveEntry entry)
|
||
protected static
Element
|
findEntryElement(Document doc, String tagname)
|
||
public
String
|
getContentSuffix()
Content type for export via HTTP.
|
||
public
String
|
getContentType()
Content type for export via HTTP.
|
||
protected static
void
|
moveChildren(Element from, Element to)
|
||
protected
Map
|
parseAll(Object data)
Retrieves all archive entries from the data source.
|
||
protected static
void
|
removeChildren(Element e)
|
||
protected
void
|
replaceEntry(Object data, ArchiveEntry newEntry, ArchiveEntry oldEntry)
Replaces an archive entry in the data source handled by this ArchiveIOHandler.
|
||
public
void
|
stringToData(String s, Object data)
Converts a string to a handled data source for import.
|
||
protected static
ArchiveEntry
|
xml2entry(Element e)
|
Tagged Values | |
static
|
false
|
documentation#author
|
Jens Gulden
|
|
protected static final
String ATTRIBUTE_ID
public static final
String CONTENT_SUFFIX
public static final
String CONTENT_TYPE
protected static final
String TAGNAME_ENTRY
|
public
Object
createData()
protected
void createEntry(Object data, ArchiveEntry entry)
data
- The data source handled by this ArchiveHandler, which is of type Document here.
entry
- The entry.
public
String
dataToString(Object data)
data
-
private static
void entry(Document doc, Element e, String key, String val)
doc
-
e
-
key
-
val
-
protected static
Element entry2xml(Document doc, ArchiveEntry entry)
doc
-
entry
-
protected static
Element findEntryElement(Document doc, String tagname)
doc
-
tagname
-
public
String
getContentSuffix()
public
String
getContentType()
protected static
void moveChildren(Element from, Element to)
from
-
to
-
protected
Map
parseAll(Object data)
Method Tagged Values | |
documentation#throws
|
IOException if an i/o error occurs
|
data
- The data source handled by this ArchiveHandler, which is of type StringBuffer here.
protected static
void removeChildren(Element e)
e
-
protected
void replaceEntry(Object data, ArchiveEntry newEntry, ArchiveEntry oldEntry)
data
- The data source handled by this ArchiveHandler, which is of type Document here.
newEntry
- The new entry.
oldEntry
- The old entry.
public
void stringToData(String s, Object data)
s
-
data
-
protected static
ArchiveEntry
xml2entry(Element e)
e
-