|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jopendocument.dom.Library
public abstract class Library
A BASIC script library.
Nested Class Summary | |
---|---|
static class |
Library.EmbeddedLibrary
|
static class |
Library.LinkedLibrary
|
Field Summary | |
---|---|
static String |
DIALOG_DIR_NAME
|
static String |
DIALOG_LIBRARY_LIST_FILENAME
|
static String |
DIALOG_LIST_FILENAME
|
static String |
DIR_NAME
|
static String |
LIBRARY_LIST_FILENAME
|
static String |
MODULE_LIST_FILENAME
|
Method Summary | |
---|---|
abstract boolean |
canBeMerged(Library other)
Whether this library can be merged with the passed one. |
boolean |
equals(Object obj)
|
String |
getName()
|
int |
hashCode()
|
boolean |
isReadonly()
|
static boolean |
removeFromPackage(ODPackage pkg,
String libName)
|
abstract org.jdom.Element |
toFlatXML(XMLFormatVersion vers)
The element to define this in a flat XML. |
abstract Map<String,org.jdom.Document> |
toPackageDialogDocuments(XMLFormatVersion vers)
|
abstract Map<String,org.jdom.Document> |
toPackageDocuments(XMLFormatVersion vers)
The documents to include in a package. |
abstract org.jdom.Element |
toPackageLibrariesElement(XMLFormatVersion vers)
The element to include in the "script-lc.xml" entry in a package. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DIR_NAME
public static final String DIALOG_DIR_NAME
public static final String LIBRARY_LIST_FILENAME
public static final String MODULE_LIST_FILENAME
public static final String DIALOG_LIBRARY_LIST_FILENAME
public static final String DIALOG_LIST_FILENAME
Method Detail |
---|
public static final boolean removeFromPackage(ODPackage pkg, String libName)
public final String getName()
public final boolean isReadonly()
public abstract org.jdom.Element toFlatXML(XMLFormatVersion vers)
vers
- the version of the format.
public abstract org.jdom.Element toPackageLibrariesElement(XMLFormatVersion vers)
vers
- the version of the format.
toPackageDocuments(XMLFormatVersion)
public abstract Map<String,org.jdom.Document> toPackageDocuments(XMLFormatVersion vers)
vers
- the version of the format.
public abstract Map<String,org.jdom.Document> toPackageDialogDocuments(XMLFormatVersion vers)
public abstract boolean canBeMerged(Library other)
other
- another library.
true
if this library and the other can be merged.public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |