|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.xmlmerge.action.DtdInsertAction
public class DtdInsertAction
Copy the patch element in the output parent with the correct position according to the DTD declared in doctype.
| Constructor Summary | |
|---|---|
DtdInsertAction()
|
|
| Method Summary | |
|---|---|
com.wutka.dtd.DTD |
getDTD(org.jdom.Element element)
Gets the DTD declared in the doctype of the element's owning document. |
List |
getOrderedDtdElements(com.wutka.dtd.DTDContainer container)
Retieves a list containing the DTD elements of a given DTD container. |
void |
perform(org.jdom.Element originalElement,
org.jdom.Element patchElement,
org.jdom.Element outputParentElement)
Out of an original element and a second element provided by the patch DOM, applies an operation and modifies the parent node of the result DOM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DtdInsertAction()
| Method Detail |
|---|
public void perform(org.jdom.Element originalElement,
org.jdom.Element patchElement,
org.jdom.Element outputParentElement)
throws AbstractXmlMergeException
perform in interface ActionoriginalElement - Original elementpatchElement - Patch elementoutputParentElement - Output parent element
AbstractXmlMergeException
public com.wutka.dtd.DTD getDTD(org.jdom.Element element)
throws DocumentException
element - The element for which the DTD will be retrieved
DocumentException - If an error occurred during DTD retrievalpublic List getOrderedDtdElements(com.wutka.dtd.DTDContainer container)
container - A DTD container.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||