|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.ejen.EjenChildNode
|
+--org.ejen.EjenSourceNode
Source node class (child of an EjenRootNode).
A Source node always replace an existing in memory DOM tree, even
if it is the first sub-node of an "ejen" node (see
EjenRootNode.beforeProcess()).
| Usage (ant build file) |
|---|
|
Parent nodes:
| Field Summary | |
protected String |
_file
|
| Fields inherited from class org.ejen.EjenChildNode |
_messageIndent |
| Fields inherited from interface org.ejen.EjenConstants |
CTX_DOM_SOURCE, CTX_STYLESHEET_HANDLER, CTX_STYLESHEET_ROOT, CTX_TRANSFORMER_FACTORY_IMPL, CTX_TRANSFORMER_IMPL, DEFAULT_XML_DATA, DEFAULT_XML_DATA_ENCODING, DEFAULT_XSL_DATA, LOG_INDENT_STR1, LOG_INDENT_STR2, MSG_DEBUG, MSG_ERR, MSG_INFO, MSG_VERBOSE, MSG_WARN, STATE_AFTER_PROCESS, STATE_BEFORE_PROCESS, STATE_CHECK, STATE_IDLE, STATE_PROCESS, STATES |
| Constructor Summary | |
EjenSourceNode()
|
|
| Method Summary | |
void |
check()
Checks this EjenSourceNode for mandatory attributes. |
Properties |
getAttributes()
Returns all non null attributes of this EjenSourceNode. |
String |
nodeName()
Returns the name of this EjenSourceNode (always "source"). |
void |
process()
Executes this EjenSourceNode. |
void |
setFile(String file)
[optional/AVT] - sets the file attribute. |
| Methods inherited from class org.ejen.EjenChildNode |
afterProcess, beforeProcess, cloneContext, evaluateAVT, evaluateAVT, getChildren, getFromContext, getFromContext, getFromGlobalContext, getListener, getState, idle, popContext, pushContext, putInContext, putInGlobalContext, sendMessageEvent, sendMessageEvent, sendStateEvent, sendXSLMessageEvent, sendXSLMessageEvent, setListener, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String _file
| Constructor Detail |
public EjenSourceNode()
| Method Detail |
public String nodeName()
nodeName in class EjenChildNodepublic Properties getAttributes()
getAttributes in class EjenChildNodepublic void setFile(String file)
EjenConstants.DEFAULT_XML_DATA).
file - the XML file name to load.public void check()
check in class EjenChildNodepublic void process()
process in class EjenChildNodeEjenException - if something goes wrong...
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||