public abstract class XmXobjectToXcodeTranslator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Document |
doc |
protected static java.lang.String |
TRUE_STR |
Constructor and Description |
---|
XmXobjectToXcodeTranslator() |
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element |
addAttributes(org.w3c.dom.Element e,
java.lang.String... attrs) |
protected org.w3c.dom.Element |
addChildNode(org.w3c.dom.Element e,
org.w3c.dom.Node n) |
protected org.w3c.dom.Element |
addChildNodes(org.w3c.dom.Element e,
org.w3c.dom.Node... nodes) |
protected org.w3c.dom.Element |
createElement(java.lang.String name,
java.lang.String... attrs) |
protected java.lang.String |
intFlagToBoolStr(Xobject flag) |
protected void |
postprocess(XobjectFile xobjFile) |
protected void |
preprocess(XobjectFile xobjFile) |
protected java.lang.String |
toBoolStr(boolean enabled) |
protected org.w3c.dom.Node |
trans(java.lang.String str) |
protected org.w3c.dom.Element |
transGlobalSymbols(Xobject xobj) |
protected abstract org.w3c.dom.Element |
transIdent(Ident ident) |
protected org.w3c.dom.Node[] |
transLines(java.util.List<java.lang.String> lines) |
protected abstract org.w3c.dom.Element |
transType(Xtype type) |
protected org.w3c.dom.Element |
transTypeTable(java.util.List<Xtype> xtypeList) |
org.w3c.dom.Document |
write(XobjectFile xobjFile) |
protected static final java.lang.String TRUE_STR
protected org.w3c.dom.Document doc
public org.w3c.dom.Document write(XobjectFile xobjFile) throws XmException
XmException
protected org.w3c.dom.Node trans(java.lang.String str)
protected abstract org.w3c.dom.Element transType(Xtype type)
protected abstract org.w3c.dom.Element transIdent(Ident ident)
protected org.w3c.dom.Element transTypeTable(java.util.List<Xtype> xtypeList)
protected org.w3c.dom.Element transGlobalSymbols(Xobject xobj)
protected void preprocess(XobjectFile xobjFile)
protected void postprocess(XobjectFile xobjFile)
protected org.w3c.dom.Element createElement(java.lang.String name, java.lang.String... attrs)
protected org.w3c.dom.Element addAttributes(org.w3c.dom.Element e, java.lang.String... attrs)
protected org.w3c.dom.Element addChildNode(org.w3c.dom.Element e, org.w3c.dom.Node n)
protected org.w3c.dom.Element addChildNodes(org.w3c.dom.Element e, org.w3c.dom.Node... nodes)
protected org.w3c.dom.Node[] transLines(java.util.List<java.lang.String> lines)
protected java.lang.String toBoolStr(boolean enabled)
protected java.lang.String intFlagToBoolStr(Xobject flag)