public abstract class AbstractBaseDescriptionDocument extends AbstractBaseDescription implements BaseDescriptionDocument
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMON_XML_HEADER |
static String |
COMMON_XML_NS |
static String |
NEW_LINE |
static String |
TAB |
| Constructor and Description |
|---|
AbstractBaseDescriptionDocument()
Default constructor
|
AbstractBaseDescriptionDocument(String id,
String shortName,
String description)
Constructor with id, shortName and description
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getDescDocument()
Gets the description xml document for this base description document
|
String |
getDescPath()
Gets the path of the description xml document for this base description document
|
Store |
getStore() |
String |
getStorePath()
Gets the root path of the store of this base description document
|
void |
parseDocument(InputStream doc)
Parses input XML document
|
void |
setDescPath(String descPath)
Sets the desc path
|
void |
setStore(Store store)
Sets the web description store
|
compareField, getDescription, getId, getShortName, parse, setDescription, setId, setShortName, validateRootElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getId, getShortNamepublic static final String COMMON_XML_HEADER
public static final String COMMON_XML_NS
public static final String NEW_LINE
public static final String TAB
public AbstractBaseDescriptionDocument(String id, String shortName, String description)
id - StringshortName - Stringdescription - Stringpublic AbstractBaseDescriptionDocument()
public void setStore(Store store)
store - storepublic void setDescPath(String descPath)
descPath - Stringpublic String getDescPath()
BaseDescriptionDocumentgetDescPath in interface BaseDescriptionDocumentpublic InputStream getDescDocument() throws IOException
BaseDescriptionDocumentgetDescDocument in interface BaseDescriptionDocumentIOExceptionpublic String getStorePath()
BaseDescriptionDocumentgetStorePath in interface BaseDescriptionDocumentpublic Store getStore()
public void parseDocument(InputStream doc) throws org.dom4j.DocumentException
doc - input XML documentorg.dom4j.DocumentExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.