public abstract class A_CmsXmlVfs extends A_CmsSetupXmlUpdate
构造器和说明 |
---|
A_CmsXmlVfs() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
createResourceType(org.dom4j.Document document,
java.lang.String xpath,
java.lang.String name,
java.lang.Class<?> clazz,
int id)
Creates a resource type node.
|
protected void |
createRtParameter(org.dom4j.Document document,
java.lang.String xpath,
java.lang.String name,
java.lang.String value)
Creates a resource type parameter.
|
java.lang.String |
getXmlFilename()
Returns the affected xml configuration file name.
|
createElementFromXml, execute, executeUpdate, getCodeToChange, getCommonPath, getXPathsToRemove, getXPathsToUpdate, prepareDoc, updateDoc, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public java.lang.String getXmlFilename()
I_CmsSetupXmlUpdate
I_CmsSetupXmlUpdate.getXmlFilename()
protected void createResourceType(org.dom4j.Document document, java.lang.String xpath, java.lang.String name, java.lang.Class<?> clazz, int id)
document
- the document to modifyxpath
- the xpath to the resource type (ie. /opencms/vfs/resources/resourcetypes/type[@name='...']
)name
- the name attribute valueclazz
- the class attribute valueid
- the id attribute valueprotected void createRtParameter(org.dom4j.Document document, java.lang.String xpath, java.lang.String name, java.lang.String value)
document
- the document to modifyxpath
- the xpath to the resource type (ie. /opencms/vfs/resources/resourcetypes/type[@name='...']
)name
- the parameter namevalue
- the parameter value