org.apache.cocoon.util.jxpath
Class DOMFactory

java.lang.Object
  extended by org.apache.commons.jxpath.AbstractFactory
      extended by org.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 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez

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.

Overrides:
createObject in class org.apache.commons.jxpath.AbstractFactory

getNamespaceURI

public String getNamespaceURI(Element element,
                              String prefix)

declareVariable

public boolean declareVariable(org.apache.commons.jxpath.JXPathContext context,
                               String name)
Overrides:
declareVariable in class org.apache.commons.jxpath.AbstractFactory


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.