public class SchemaDescriptionDocument extends AbstractBaseDescriptionDocument
| Modifier and Type | Field and Description |
|---|---|
static String |
DESC_NAME_PATTERN |
static String |
DESC_NAME_POSTFIX |
static String |
ROOT_ELEMENT_NAME |
ArrayList<TypeDescription> |
typeDescriptionList |
COMMON_XML_HEADER, COMMON_XML_NS, NEW_LINE, TAB| Constructor and Description |
|---|
SchemaDescriptionDocument()
Default constructor
|
SchemaDescriptionDocument(String id,
String shortName,
String description)
Constructor with id, shortName and desription
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTypeDescription(TypeDescription typeDescription) |
ArrayList<TypeDescription> |
getTypeDescriptionList() |
TypeDescription[] |
getTypeDescriptions() |
static SchemaDescriptionDocument |
newInstance()
Return a new instance of SchemaDescriptDocument
|
void |
parse(org.dom4j.Element elem)
Populates fields from given XML element without validation
|
void |
setTypeDescriptionList(ArrayList<TypeDescription> typeDescriptionList) |
void |
setTypeDescriptions(TypeDescription[] typeDescriptions) |
String |
toString() |
getDescDocument, getDescPath, getStore, getStorePath, parseDocument, setDescPath, setStorecompareField, getDescription, getId, getShortName, setDescription, setId, setShortName, validateRootElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getId, getShortNamepublic static final String ROOT_ELEMENT_NAME
public static final String DESC_NAME_POSTFIX
public static final String DESC_NAME_PATTERN
public ArrayList<TypeDescription> typeDescriptionList
public SchemaDescriptionDocument(String id, String shortName, String description)
id - StringshortName - Stringdescription - Stringpublic SchemaDescriptionDocument()
public ArrayList<TypeDescription> getTypeDescriptionList()
public void setTypeDescriptionList(ArrayList<TypeDescription> typeDescriptionList)
typeDescriptionList - the typeDescriptionList to setpublic TypeDescription[] getTypeDescriptions()
public void setTypeDescriptions(TypeDescription[] typeDescriptions)
typeDescriptions - TypeDescription[]public void addTypeDescription(TypeDescription typeDescription)
typeDescription - TypeDescriptionpublic void parse(org.dom4j.Element elem)
AbstractBaseDescriptionparse in class AbstractBaseDescriptionelem - root element for parsingpublic static SchemaDescriptionDocument newInstance()
Copyright © 2005–2021 Alfresco Software. All rights reserved.