com.jxml.quick.ocm
Class OCMtemplate
java.lang.Object
|
+--com.jxml.quick.ocm.OCMpeerSupportLite
|
+--com.jxml.quick.ocm.OCMrootPeerSupportLite
|
+--com.jxml.quick.ocm.OCMtemplate
- All Implemented Interfaces:
- OCMpeer, OCMrootPeer
- Direct Known Subclasses:
- QCAttributes, QCcfg, QCChildElement, QCChildSelection, QCChildSequence, QCCoin, QCCoin, QCElementDefinition, QCElements, QCInstruction, QCItem, QCnvItem, QCNVT, QCProperty, QCQIML, QCRequiredItem, QCSelection, QCSequence, QCTargetEditor
- public abstract class OCMtemplate
- extends OCMrootPeerSupportLite
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jxml.quick.ocm.OCMpeer |
init |
OCMtemplate
public OCMtemplate()
cvt
public void cvt(Object param)
throws SAXException,
IOException
- Description copied from interface:
OCMpeer
- Perform the conversion.
- Overrides:
cvt
in class OCMpeerSupportLite
expand
public void expand(String templateName)
throws SAXException,
IOException
expandString
public void expandString(String template,
String templateName)
throws SAXException,
IOException
process
public abstract String process(String templateName,
String arg)
throws SAXException,
IOException
express
public String express(boolean expressDefaults)
throws SAXException,
IOException
- Description copied from interface:
OCMrootPeer
- Generate an XML document (or other text).
- Overrides:
express
in class OCMrootPeerSupportLite
- Following copied from interface:
com.jxml.quick.ocm.OCMrootPeer
- Parameters:
doc
- The QDoc object holding the object tree to be expressed in XML.expressDefaults
- Turns on the expression of default values.- Returns:
- The XML representation
express
public void express(PrintWriter pw,
boolean expressDefaults)
throws SAXException,
IOException
- Description copied from interface:
OCMrootPeer
- Generate an XML document (or other text).
- Overrides:
express
in class OCMrootPeerSupportLite
- Following copied from interface:
com.jxml.quick.ocm.OCMrootPeer
- Parameters:
doc
- The QDoc object holding the object tree to be expressed in XML.PW
- PrintWriter where the XML document is to be written.expressDefaults
- Turns on the expression of default values.