org.apache.cocoon.util.jxpath
Class DOMFactory

java.lang.Object
  extended byorg.apache.commons.jxpath.AbstractFactory
      extended byorg.apache.cocoon.util.jxpath.DOMFactory

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

A JXPath AbstractFactory that creates DOM elements.

Version:
$Id: DOMFactory.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
DOMFactory()
           
 
Method Summary
 boolean createObject(org.apache.commons.jxpath.JXPathContext context, org.apache.commons.jxpath.Pointer pointer, Object parent, String name, int index)
          Return false if this factory cannot create the requested object.
 boolean declareVariable(org.apache.commons.jxpath.JXPathContext context, String name)
           
 String getNamespaceURI(Element element, String prefix)
           
 
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,
                            Object parent,
                            String name,
                            int index)
Return false if this factory cannot create the requested object.


getNamespaceURI

public String getNamespaceURI(Element element,
                              String prefix)

declareVariable

public boolean declareVariable(org.apache.commons.jxpath.JXPathContext context,
                               String name)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.