[117755] Added filter to ignore internal extension points.
diff --git a/docs/org.eclipse.jst.doc.isv/buildExtDocs.properties b/docs/org.eclipse.jst.doc.isv/buildExtDocs.properties
index 355b4f2..85c330a 100644
--- a/docs/org.eclipse.jst.doc.isv/buildExtDocs.properties
+++ b/docs/org.eclipse.jst.doc.isv/buildExtDocs.properties
@@ -6,3 +6,7 @@
header = JST Extension Points
# Introduction paragraph
overview = The following extension points can be used to extend the capabilities of the JST infrastructure:
+
+# A list of internal extension points that should not be displayed
+# in the ISV docs.
+internal-ext-points=
\ No newline at end of file
diff --git a/docs/org.eclipse.jst.doc.isv/buildExtDocs.xml b/docs/org.eclipse.jst.doc.isv/buildExtDocs.xml
index 6a04364..a8804e4 100644
--- a/docs/org.eclipse.jst.doc.isv/buildExtDocs.xml
+++ b/docs/org.eclipse.jst.doc.isv/buildExtDocs.xml
@@ -78,12 +78,14 @@
<param name="title" expression="${title}"/>
<param name="header" expression="${header}"/>
<param name="overview" expression="${overview}"/>
+ <param name="internal-ext-points" expression="${internal-ext-points}"/>
</xslt>
<!-- Create the extention point toc. -->
<xslt basedir="${basedir}" in="extDocListings.xml" out="topics_ExtPoint_Reference.xml" style="extDocToc.xsl">
+ <param name="internal-ext-points" expression="${internal-ext-points}"/>
<outputproperty name="method" value="xml"/>
- <outputproperty name="indent" value="yes"/>
+ <outputproperty name="indent" value="yes"/>
</xslt>
</target>
diff --git a/docs/org.eclipse.jst.doc.isv/extDocOverview.xsl b/docs/org.eclipse.jst.doc.isv/extDocOverview.xsl
index d9b239a..14116af 100644
--- a/docs/org.eclipse.jst.doc.isv/extDocOverview.xsl
+++ b/docs/org.eclipse.jst.doc.isv/extDocOverview.xsl
@@ -5,6 +5,7 @@
<xsl:param name="title"/>
<xsl:param name="header"/>
<xsl:param name="overview"/>
+ <xsl:param name="internal-ext-points"/>
<xsl:template match="components">
@@ -36,9 +37,11 @@
<ul>
<xsl:for-each select="document(@file)/files/file">
<xsl:sort select="text()"/>
- <li>
- <a href="{../@component}/{text()}"><xsl:value-of select="translate(substring(text(), 0, string-length(text()) - 4),'_','.')"/></a>
- </li>
+ <xsl:if test="not(contains($internal-ext-points, translate(substring(text(), 0, string-length(text()) - 4),'_','.')))">
+ <li>
+ <a href="{../@component}/{text()}"><xsl:value-of select="translate(substring(text(), 0, string-length(text()) - 4),'_','.')"/></a>
+ </li>
+ </xsl:if>
</xsl:for-each>
</ul>
</xsl:for-each>
diff --git a/docs/org.eclipse.jst.doc.isv/extDocToc.xsl b/docs/org.eclipse.jst.doc.isv/extDocToc.xsl
index 735638c..79c8a14 100644
--- a/docs/org.eclipse.jst.doc.isv/extDocToc.xsl
+++ b/docs/org.eclipse.jst.doc.isv/extDocToc.xsl
@@ -3,18 +3,20 @@
version="1.0"
xmlns:xalan="http://xml.apache.org/xslt"
exclude-result-prefixes="xalan">
+ <xsl:param name="internal-ext-points"/>
<xsl:template match="components">
- <xsl:text disable-output-escaping="yes">
+ <xsl:text disable-output-escaping="yes">
<?NLS TYPE="org.eclipse.help.toc"?>
- </xsl:text>
- <toc label="Extension Points Reference">
- <xsl:for-each select="document(component/@file)/files/file">
- <xsl:sort select="text()"/>
- <topic label="{translate(substring(text(), 0, string-length(text()) - 4),'_','.')}" href="reference/extension-points/{../@component}/{text()}">
- </topic>
- </xsl:for-each>
-
- </toc>
+ </xsl:text>
+ <toc label="Extension Points Reference">
+ <xsl:for-each select="document(component/@file)/files/file">
+ <xsl:sort select="text()"/>
+ <xsl:if test="not(contains($internal-ext-points, translate(substring(text(), 0, string-length(text()) - 4),'_','.')))">
+ <topic label="{translate(substring(text(), 0, string-length(text()) - 4),'_','.')}" href="reference/extension-points/{../@component}/{text()}">
+ </topic>
+ </xsl:if>
+ </xsl:for-each>
+ </toc>
</xsl:template>
</xsl:stylesheet>
diff --git a/docs/org.eclipse.wst.doc.isv/buildExtDocs.properties b/docs/org.eclipse.wst.doc.isv/buildExtDocs.properties
index b3b72bd..3f86726 100644
--- a/docs/org.eclipse.wst.doc.isv/buildExtDocs.properties
+++ b/docs/org.eclipse.wst.doc.isv/buildExtDocs.properties
@@ -5,4 +5,28 @@
title = WTP Web Standard Tools (WST) Extension Points
header = WST Extension Points
# Introduction paragraph
-overview = The following extension points can be used to extend the capabilities of the WST infrastructure:
+overview = The following extension points can be used to extend the capabilities of the WST infrastructure:
+
+# A list of internal extension points that should not be displayed
+# in the ISV docs.
+internal-ext-points=org.eclipse.wst.internet.monitor.core.internalStartup,\
+org.eclipse.wst.internet.monitor.core.internalStartup,\
+org.eclipse.wst.server.core.internalStartup,\
+org.eclipse.wst.sse.core.adaptOnCreateFactory,\
+org.eclipse.wst.sse.core.commentElementHandler,\
+org.eclipse.wst.sse.core.contentTypeFactoryContribution,\
+org.eclipse.wst.sse.core.cssprofile,\
+org.eclipse.wst.sse.core.documentTypes,\
+org.eclipse.wst.sse.core.embeddedTypeHandler,\
+org.eclipse.wst.sse.core.formatProcessors,\
+org.eclipse.wst.sse.core.modelHandler,\
+org.eclipse.wst.sse.core.taskscanner,\
+org.eclipse.wst.wsdl.contentGenerators,\
+org.eclipse.wst.wsdl.ui.extensibilityElementFilter,\
+org.eclipse.wst.wsdl.ui.extensibilityItemTreeProviders,\
+org.eclipse.wst.wsdl.ui.internalEditorExtensions,\
+org.eclipse.wst.wsdl.ui.propertyDescriptorProvider,\
+org.eclipse.wst.xml.core.annotationFiles,\
+org.eclipse.wst.xml.core.documentFactories,\
+org.eclipse.wst.xml.core.modelQueryExtensions,\
+org.eclipse.wst.xml.ui.catalogFileType
diff --git a/docs/org.eclipse.wst.doc.isv/buildExtDocs.xml b/docs/org.eclipse.wst.doc.isv/buildExtDocs.xml
index 759e487..bfa1489 100644
--- a/docs/org.eclipse.wst.doc.isv/buildExtDocs.xml
+++ b/docs/org.eclipse.wst.doc.isv/buildExtDocs.xml
@@ -148,12 +148,14 @@
<param name="title" expression="${title}"/>
<param name="header" expression="${header}"/>
<param name="overview" expression="${overview}"/>
+ <param name="internal-ext-points" expression="${internal-ext-points}"/>
</xslt>
<!-- Create the extention point toc. -->
<xslt basedir="${basedir}" in="extDocListings.xml" out="topics_ExtPoint_Reference.xml" style="extDocToc.xsl">
+ <param name="internal-ext-points" expression="${internal-ext-points}"/>
<outputproperty name="method" value="xml"/>
- <outputproperty name="indent" value="yes"/>
+ <outputproperty name="indent" value="yes"/>
</xslt>
</target>
diff --git a/docs/org.eclipse.wst.doc.isv/extDocOverview.xsl b/docs/org.eclipse.wst.doc.isv/extDocOverview.xsl
index d9b239a..14116af 100644
--- a/docs/org.eclipse.wst.doc.isv/extDocOverview.xsl
+++ b/docs/org.eclipse.wst.doc.isv/extDocOverview.xsl
@@ -5,6 +5,7 @@
<xsl:param name="title"/>
<xsl:param name="header"/>
<xsl:param name="overview"/>
+ <xsl:param name="internal-ext-points"/>
<xsl:template match="components">
@@ -36,9 +37,11 @@
<ul>
<xsl:for-each select="document(@file)/files/file">
<xsl:sort select="text()"/>
- <li>
- <a href="{../@component}/{text()}"><xsl:value-of select="translate(substring(text(), 0, string-length(text()) - 4),'_','.')"/></a>
- </li>
+ <xsl:if test="not(contains($internal-ext-points, translate(substring(text(), 0, string-length(text()) - 4),'_','.')))">
+ <li>
+ <a href="{../@component}/{text()}"><xsl:value-of select="translate(substring(text(), 0, string-length(text()) - 4),'_','.')"/></a>
+ </li>
+ </xsl:if>
</xsl:for-each>
</ul>
</xsl:for-each>
diff --git a/docs/org.eclipse.wst.doc.isv/extDocToc.xsl b/docs/org.eclipse.wst.doc.isv/extDocToc.xsl
index 735638c..79c8a14 100644
--- a/docs/org.eclipse.wst.doc.isv/extDocToc.xsl
+++ b/docs/org.eclipse.wst.doc.isv/extDocToc.xsl
@@ -3,18 +3,20 @@
version="1.0"
xmlns:xalan="http://xml.apache.org/xslt"
exclude-result-prefixes="xalan">
+ <xsl:param name="internal-ext-points"/>
<xsl:template match="components">
- <xsl:text disable-output-escaping="yes">
+ <xsl:text disable-output-escaping="yes">
<?NLS TYPE="org.eclipse.help.toc"?>
- </xsl:text>
- <toc label="Extension Points Reference">
- <xsl:for-each select="document(component/@file)/files/file">
- <xsl:sort select="text()"/>
- <topic label="{translate(substring(text(), 0, string-length(text()) - 4),'_','.')}" href="reference/extension-points/{../@component}/{text()}">
- </topic>
- </xsl:for-each>
-
- </toc>
+ </xsl:text>
+ <toc label="Extension Points Reference">
+ <xsl:for-each select="document(component/@file)/files/file">
+ <xsl:sort select="text()"/>
+ <xsl:if test="not(contains($internal-ext-points, translate(substring(text(), 0, string-length(text()) - 4),'_','.')))">
+ <topic label="{translate(substring(text(), 0, string-length(text()) - 4),'_','.')}" href="reference/extension-points/{../@component}/{text()}">
+ </topic>
+ </xsl:if>
+ </xsl:for-each>
+ </toc>
</xsl:template>
</xsl:stylesheet>