|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.operations.XMLGraphConverter
public class XMLGraphConverter
Converter from XML templates to XML graphs.
Nested Class Summary | |
---|---|
static class |
XMLGraphConverter.GapConversion
Gap conversion flags. |
Method Summary | |
---|---|
static XMLGraph |
convert(XML x,
XMLGraphConverter.GapConversion gaps,
boolean wrapchoices)
Converts the given XML template into a new XML graph. |
static XMLGraphFragment |
extend(XMLGraph xg,
XML x,
XMLGraphConverter.GapConversion gaps,
boolean wrapchoices)
Converts the given XML template by extending an existing XML graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XMLGraph convert(XML x, XMLGraphConverter.GapConversion gaps, boolean wrapchoices)
gaps
- if set, gaps are included, otherwise they are implicitly closedwrapchoices
- if set, extra choice nodes are added around attribute nodes and
element nodes and above text nodespublic static XMLGraphFragment extend(XMLGraph xg, XML x, XMLGraphConverter.GapConversion gaps, boolean wrapchoices)
gaps
- if set, gaps are included, otherwise they are implicitly closed
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |