public class XWikiDocument extends Object
| Constructor and Description |
|---|
XWikiDocument() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXML(File file)
Parse XML file to extract document information.
|
String |
getAuthor() |
String |
getComment() |
String |
getContentAuthor() |
String |
getCreator() |
String |
getDefaultLanguage() |
String |
getEncoding() |
String |
getFullName() |
static String |
getFullName(File file) |
String |
getLanguage() |
String |
getMinorEdit() |
String |
getName() |
String |
getParent() |
String |
getSpace() |
String |
getVersion() |
void |
setDefaultLanguage(String defaultLanguage) |
void |
setLanguage(String language) |
void |
setName(String name) |
void |
setSpace(String space) |
public void fromXML(File file) throws org.dom4j.DocumentException
file - the xml fileorg.dom4j.DocumentException - error when parsing XML filepublic String getName()
public void setName(String name)
name - the name of the document.public String getSpace()
public void setSpace(String space)
space - the space of the document.public String getLanguage()
public void setLanguage(String language)
language - the language of the document.public String getDefaultLanguage()
public void setDefaultLanguage(String defaultLanguage)
defaultLanguage - the default language of the document.public String getCreator()
public String getAuthor()
public String getContentAuthor()
public String getVersion()
public String getParent()
public String getComment()
public String getMinorEdit()
public String getEncoding()
public String getFullName()
Copyright © 2004–2014 XWiki. All rights reserved.