| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:53 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class ExtensionNamespacesManager
|
| </TITLE>
|
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
| </HEAD>
|
| <BODY BGCOLOR="white">
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExtensionNamespacesManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceContext.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceSupport.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="ExtensionNamespacesManager.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.apache.xalan.extensions</FONT>
|
| <BR>
|
| Class ExtensionNamespacesManager</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<B>org.apache.xalan.extensions.ExtensionNamespacesManager</B>
|
| </PRE>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>ExtensionNamespacesManager</B><DT>extends java.lang.Object</DL>
|
|
|
| <P>
|
| Used during assembly of a stylesheet to collect the information for each |
| extension namespace that is required during the transformation process |
| to generate an <A HREF="../../../../org/apache/xalan/extensions/ExtensionHandler.html"><CODE>ExtensionHandler</CODE></A>.
|
| <P>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
| <!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
|
| <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Constructor Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespacesManager.html#ExtensionNamespacesManager()">ExtensionNamespacesManager</A></B>()</CODE>
|
|
|
| <BR>
|
| An ExtensionNamespacesManager is instantiated the first time an extension function or |
| element is found in the stylesheet.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ========== METHOD SUMMARY =========== -->
|
|
|
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Method Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceSupport.html">ExtensionNamespaceSupport</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespacesManager.html#defineJavaNamespace(java.lang.String)">defineJavaNamespace</A></B>(java.lang.String ns)</CODE>
|
|
|
| <BR>
|
| For any extension namespace that is not either predefined or defined |
| by a "component" declaration or exslt function declaration, attempt |
| to create an ExtensionNamespaceSuport object for the appropriate |
| Java class or Java package Extension Handler.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceSupport.html">ExtensionNamespaceSupport</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespacesManager.html#defineJavaNamespace(java.lang.String, java.lang.String)">defineJavaNamespace</A></B>(java.lang.String ns, |
| java.lang.String classOrPackage)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.util.Vector</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespacesManager.html#getExtensions()">getExtensions</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the vector of extension namespaces.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespacesManager.html#namespaceIndex(java.lang.String, java.util.Vector)">namespaceIndex</A></B>(java.lang.String namespace, |
| java.util.Vector extensions)</CODE>
|
|
|
| <BR>
|
| Get the index for a namespace entry in the extension namespace Vector, -1 if |
| no such entry yet exists.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespacesManager.html#registerExtension(org.apache.xalan.extensions.ExtensionNamespaceSupport)">registerExtension</A></B>(<A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceSupport.html">ExtensionNamespaceSupport</A> extNsSpt)</CODE>
|
|
|
| <BR>
|
| Register the extension namespace for an ElemExtensionDecl or ElemFunction, |
| and prepare a support object to launch the appropriate ExtensionHandler at |
| transformation runtime.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespacesManager.html#registerExtension(java.lang.String)">registerExtension</A></B>(java.lang.String namespace)</CODE>
|
|
|
| <BR>
|
| If necessary, register the extension namespace found compiling a function or |
| creating an extension element.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespacesManager.html#registerUnregisteredNamespaces()">registerUnregisteredNamespaces</A></B>()</CODE>
|
|
|
| <BR>
|
| Attempt to register any unregistered extension namespaces.</TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>equals,
|
| getClass,
|
| hashCode,
|
| notify,
|
| notifyAll,
|
| toString,
|
| wait,
|
| wait,
|
| wait</CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <P>
|
|
|
| <!-- ============ FIELD DETAIL =========== -->
|
|
|
|
|
| <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Constructor Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="ExtensionNamespacesManager()"><!-- --></A><H3>
|
| ExtensionNamespacesManager</H3>
|
| <PRE>
|
| public <B>ExtensionNamespacesManager</B>()</PRE>
|
| <DL>
|
| <DD>An ExtensionNamespacesManager is instantiated the first time an extension function or |
| element is found in the stylesheet. During initialization, a vector of ExtensionNamespaceSupport |
| objects is created, one for each predefined extension namespace.</DL>
|
|
|
| <!-- ============ METHOD DETAIL ========== -->
|
|
|
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Method Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="registerExtension(java.lang.String)"><!-- --></A><H3>
|
| registerExtension</H3>
|
| <PRE>
|
| public void <B>registerExtension</B>(java.lang.String namespace)</PRE>
|
| <DL>
|
| <DD>If necessary, register the extension namespace found compiling a function or |
| creating an extension element. |
| |
| If it is a predefined namespace, create a |
| support object to simplify the instantiate of an appropriate ExtensionHandler |
| during transformation runtime. Otherwise, add the namespace, if necessary, |
| to a vector of undefined extension namespaces, to be defined later.</DL>
|
| <HR>
|
|
|
| <A NAME="registerExtension(org.apache.xalan.extensions.ExtensionNamespaceSupport)"><!-- --></A><H3>
|
| registerExtension</H3>
|
| <PRE>
|
| public void <B>registerExtension</B>(<A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceSupport.html">ExtensionNamespaceSupport</A> extNsSpt)</PRE>
|
| <DL>
|
| <DD>Register the extension namespace for an ElemExtensionDecl or ElemFunction, |
| and prepare a support object to launch the appropriate ExtensionHandler at |
| transformation runtime.</DL>
|
| <HR>
|
|
|
| <A NAME="namespaceIndex(java.lang.String, java.util.Vector)"><!-- --></A><H3>
|
| namespaceIndex</H3>
|
| <PRE>
|
| public int <B>namespaceIndex</B>(java.lang.String namespace, |
| java.util.Vector extensions)</PRE>
|
| <DL>
|
| <DD>Get the index for a namespace entry in the extension namespace Vector, -1 if |
| no such entry yet exists.</DL>
|
| <HR>
|
|
|
| <A NAME="getExtensions()"><!-- --></A><H3>
|
| getExtensions</H3>
|
| <PRE>
|
| public java.util.Vector <B>getExtensions</B>()</PRE>
|
| <DL>
|
| <DD>Get the vector of extension namespaces. Used to provide |
| the extensions table access to a list of extension |
| namespaces encountered during composition of a stylesheet.</DL>
|
| <HR>
|
|
|
| <A NAME="registerUnregisteredNamespaces()"><!-- --></A><H3>
|
| registerUnregisteredNamespaces</H3>
|
| <PRE>
|
| public void <B>registerUnregisteredNamespaces</B>()</PRE>
|
| <DL>
|
| <DD>Attempt to register any unregistered extension namespaces.</DL>
|
| <HR>
|
|
|
| <A NAME="defineJavaNamespace(java.lang.String)"><!-- --></A><H3>
|
| defineJavaNamespace</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceSupport.html">ExtensionNamespaceSupport</A> <B>defineJavaNamespace</B>(java.lang.String ns)</PRE>
|
| <DL>
|
| <DD>For any extension namespace that is not either predefined or defined |
| by a "component" declaration or exslt function declaration, attempt |
| to create an ExtensionNamespaceSuport object for the appropriate |
| Java class or Java package Extension Handler. |
| |
| Called by StylesheetRoot.recompose(), after all ElemTemplate compose() |
| operations have taken place, in order to set up handlers for |
| the remaining extension namespaces.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>ns</CODE> - The extension namespace URI.<DT><B>Returns:</B><DD>An ExtensionNamespaceSupport object for this namespace |
| (which defines the ExtensionHandler to be used), or null if such |
| an object cannot be created.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="defineJavaNamespace(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| defineJavaNamespace</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceSupport.html">ExtensionNamespaceSupport</A> <B>defineJavaNamespace</B>(java.lang.String ns, |
| java.lang.String classOrPackage)</PRE>
|
| <DL>
|
| </DL>
|
| <!-- ========= END OF CLASS DATA ========= -->
|
| <HR>
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExtensionNamespacesManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceContext.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xalan/extensions/ExtensionNamespaceSupport.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="ExtensionNamespacesManager.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|