com.oroad.stxx.util
Class DOMFactory

java.lang.Object
  extended byorg.apache.commons.jxpath.AbstractFactory
      extended bycom.oroad.stxx.util.DOMFactory

public class DOMFactory
extends org.apache.commons.jxpath.AbstractFactory

A JXPath AbstractFactory that creates DOM elements. This code was taking from Apache Cocoon, version 2.1.

Author:
Sylvain Wallez, Don Brown

Constructor Summary
DOMFactory()
           
 
Method Summary
 boolean createObject(org.apache.commons.jxpath.JXPathContext context, org.apache.commons.jxpath.Pointer pointer, java.lang.Object parent, java.lang.String name, int index)
          Tries to create an element and attach it to the parent element or document.
 boolean declareVariable(org.apache.commons.jxpath.JXPathContext context, java.lang.String name)
          Not implemented, always will return false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMFactory

public DOMFactory()
Method Detail

createObject

public boolean createObject(org.apache.commons.jxpath.JXPathContext context,
                            org.apache.commons.jxpath.Pointer pointer,
                            java.lang.Object parent,
                            java.lang.String name,
                            int index)
Tries to create an element and attach it to the parent element or document. Warning: JXPath does not call this method for an element if the end node is an attribute.


declareVariable

public boolean declareVariable(org.apache.commons.jxpath.JXPathContext context,
                               java.lang.String name)
Not implemented, always will return false