|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jxml.quick.ocm.OCMsinkSupport
Support class for OCMsink.
DTD: <!ELEMENT sinkSupport (((contextSupport | transcribe | input) | sourceLink),(validatorSupport | validateLink)?)> <!ATTLIST sinkSupport docNamePrefix CDATA #IMPLIED expressDefaults CDATA "False" ID CDATA "False" >
Inner Class Summary | |
class |
OCMsinkSupport.SubSinkSupport
A processing object spawned from an OCMsinkSupport object. |
Inner classes inherited from class com.jxml.quick.ocm.OCMsink |
OCMsink.SubSink |
Inner classes inherited from class com.jxml.quick.ocm.OCMbase |
OCMbase.SubBase |
Field Summary | |
boolean |
expressDefaults
Set to true when defaults are to be expressed. |
static long |
genNbr
|
String |
prefix
Doc Name Prefix. |
OCMsource |
source
The source of the input document. |
OCMvalidator |
validator
The validator is applied prior to processing. |
Constructor Summary | |
OCMsinkSupport()
|
Method Summary | |
static OCMsinkSupport.SubSinkSupport |
createSink(QDoc sinkSchema,
String sinkName)
Returns an OCM sink. |
static OCMsinkSupport.SubSinkSupport |
createSink(String sinkSchemaName,
String sinkName,
ClassLoader cl)
Returns an OCM sink. |
void |
eval(Map properties,
List args,
ClassLoader cl)
This method can be invoked by config. sinkSchema - the schema for the sink file (typically classpath:///com/jxml/quick/util/util.qiml) sinkSchemaClass - the schema class for the sink file (prefered to sinkSchema) sinkIn - the (required) sink file or url in - the (required) property naming the QDML document to be updated out - the (optional) property naming the output file. |
static void |
exec(Map properties,
List args,
ClassLoader cl)
|
void |
setSource(OCMsource source)
Sets the input source used by the sink. |
void |
setValidator(OCMvalidator validator)
Sets the validator use by the sink. |
OCMbase.SubBase |
spawn(HashMap prior)
Creates a processing structure. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static long genNbr
public String prefix
public OCMvalidator validator
public OCMsource source
public boolean expressDefaults
Constructor Detail |
public OCMsinkSupport()
Method Detail |
public OCMbase.SubBase spawn(HashMap prior)
OCMbase
spawn
in interface OCMbase
com.jxml.quick.ocm.OCMbase
prior
- A table of already spawned objects,
keyed by their base object.public void setValidator(OCMvalidator validator) throws SAXException, IOException
OCMsink
setValidator
in interface OCMsink
public void setSource(OCMsource source) throws SAXException, IOException
OCMsink
setSource
in interface OCMsink
public static OCMsinkSupport.SubSinkSupport createSink(String sinkSchemaName, String sinkName, ClassLoader cl) throws SAXException, IOException
public static OCMsinkSupport.SubSinkSupport createSink(QDoc sinkSchema, String sinkName) throws SAXException, IOException
public void eval(Map properties, List args, ClassLoader cl) throws Exception
eval
in interface Item
public static void exec(Map properties, List args, ClassLoader cl) throws Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |