|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.ocltf.utils.XmiUtils
Contains utilities for modifying/processing XMI files.
| Constructor Summary | |
XmiUtils()
|
|
| Method Summary | |
protected static void |
removeElements(org.w3c.dom.Document document,
java.lang.String elementName)
Removes the specified element name for the document. |
static java.io.InputStream |
stripElements(java.io.InputStream xmiStream,
java.lang.String[] elementNames)
Strips elements from the passed in modelXmi and returns the model with the removed elements as an InputStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmiUtils()
| Method Detail |
public static java.io.InputStream stripElements(java.io.InputStream xmiStream,
java.lang.String[] elementNames)
xmiStream - the InputStream for the XMI.elementNames -
protected static void removeElements(org.w3c.dom.Document document,
java.lang.String elementName)
document - the Document from which to remove the element having the
given name.elementName - the name of the element for which to remove if it can
be found.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||