org.apache.lenya.cms.editors.forms
Class FormsEditor.FormPrefixResolver

java.lang.Object
  extended by org.apache.xml.utils.PrefixResolverDefault
      extended by org.apache.lenya.cms.editors.forms.FormsEditor.FormPrefixResolver
All Implemented Interfaces:
org.apache.xml.utils.PrefixResolver
Enclosing class:
FormsEditor

public class FormsEditor.FormPrefixResolver
extends org.apache.xml.utils.PrefixResolverDefault

Prefix resolver which uses the usecase parameters like "namespace.xhtml=http://www.w3.org/1999/xhtml" to resolve prefixes.


Constructor Summary
FormsEditor.FormPrefixResolver(org.w3c.dom.Node context)
          Ctor.
 
Method Summary
 java.lang.String getNamespaceForPrefix(java.lang.String prefix, org.w3c.dom.Node context)
           
 
Methods inherited from class org.apache.xml.utils.PrefixResolverDefault
getBaseIdentifier, getNamespaceForPrefix, handlesNullPrefixes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormsEditor.FormPrefixResolver

public FormsEditor.FormPrefixResolver(org.w3c.dom.Node context)
Ctor.

Parameters:
context - The context node.
Method Detail

getNamespaceForPrefix

public java.lang.String getNamespaceForPrefix(java.lang.String prefix,
                                              org.w3c.dom.Node context)
Specified by:
getNamespaceForPrefix in interface org.apache.xml.utils.PrefixResolver
Overrides:
getNamespaceForPrefix in class org.apache.xml.utils.PrefixResolverDefault
See Also:
PrefixResolver.getNamespaceForPrefix(java.lang.String, org.w3c.dom.Node)


Copyright $ Apache Software Foundation. All Rights Reserved.