|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.compiler.EditDOM
Class to perform edits on a DOM.
Constructor Summary | |
EditDOM(MetaData metaData)
Constructor. |
Method Summary | |
void |
edit(XMLCDocument xmlcDoc)
Edit the nodes of the document. |
protected Node |
editElement(Element element)
Edit a single element. |
protected String |
getElementId(Element element)
Get the ID of an element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EditDOM(MetaData metaData)
Method Detail |
protected Node editElement(Element element) throws XMLCException
super.editElement(element)
to
perform the standard edits. Derived classes may replace
element
by another node in their version of
editElement
. In this case, the
editElement() method must return the new node in order
for the editor code to pick up and edit children of this new node.
element
, or null
to indicate
that the children of this element should not be processed.
XMLCException
public void edit(XMLCDocument xmlcDoc) throws XMLCException
XMLCException
protected String getElementId(Element element)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |