public final class WebDocumentUtil
extends oracle.jdeveloper.webapp.utils.HtmlWebDocumentUtil
| Constructor and Description |
|---|
WebDocumentUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addTagLibrary(JspLibrary jspTagLibrary,
oracle.bali.xml.gui.jdev.JDevXmlContext xmlContext) |
static void |
addTagLibrary(JspLibrary jspTagLibrary,
Project project,
oracle.bali.xml.model.AbstractModel model)
Configures JSP page and the project it belongs to to use given JSP
tag library.
|
static void |
addTagLibrary(java.lang.String jspLibraryURI,
oracle.bali.xml.gui.jdev.JDevXmlContext xmlContext) |
static void |
addTagLibrary(java.lang.String jspLibraryURI,
Project project,
oracle.bali.xml.model.AbstractModel model) |
static oracle.bali.xml.gui.jdev.JDevXmlContext |
createJspXmlContext(Context context,
java.lang.String jspContent,
boolean xmlSyntax)
Creates an in memory JDevXmlContext for the JSP page/document.
|
static java.lang.String |
findJspNamespace(oracle.bali.xml.model.AbstractModel model,
java.lang.String fallbackNamespace)
Finds namespace of JSP core syntax elements in the given model.
|
static java.util.Iterator |
findTagLibDirectives(oracle.bali.xml.model.AbstractModel model)
Finds all taglib directive nodes in the document.
|
static java.lang.String |
getDefaultJspNamespace(oracle.bali.xml.model.XmlContext context)
Returns a default JSP core syntax namespace to be used in the given context.
|
static java.util.List |
getJSFActionMethodBindings(oracle.bali.xml.model.AbstractModel model)
Returns a List of Strings for all of the JSF elements in the model whose action attributes are method bindings.
|
static java.lang.String |
getJspNamespace(oracle.bali.xml.model.AbstractModel model)
Finds JSP namesapce used in the document of the given model, or if none is
used returns default JSP namesapce in its context.
|
static java.util.Set<java.lang.String> |
getTagLibsDeclared(oracle.bali.xml.model.AbstractModel model)
Finds and returns all the declared tag libraries in JSP Document/ JSP Page
|
findHtmlNamespace, getDefaultHtmlNamespace, getHtmlNamespacepublic static java.util.Iterator findTagLibDirectives(oracle.bali.xml.model.AbstractModel model)
model - public static java.lang.String getDefaultJspNamespace(oracle.bali.xml.model.XmlContext context)
public static java.lang.String findJspNamespace(oracle.bali.xml.model.AbstractModel model,
java.lang.String fallbackNamespace)
model - to be searched for JSP core syntax elementsfallbackNamespace - namespace to be returned of model does not contain
any JSP core syntax elements.getDefaultJspNamespace(XmlContext)public static java.lang.String getJspNamespace(oracle.bali.xml.model.AbstractModel model)
model - public static void addTagLibrary(java.lang.String jspLibraryURI,
oracle.bali.xml.gui.jdev.JDevXmlContext xmlContext)
throws oracle.bali.xml.model.XmlCommitException
oracle.bali.xml.model.XmlCommitException#addTagLibrary( JspLibrary, JProject, AbstractModel )public static void addTagLibrary(java.lang.String jspLibraryURI,
Project project,
oracle.bali.xml.model.AbstractModel model)
throws oracle.bali.xml.model.XmlCommitException
oracle.bali.xml.model.XmlCommitException#addTagLibrary( JspLibrary, JProject, AbstractModel )public static void addTagLibrary(JspLibrary jspTagLibrary, oracle.bali.xml.gui.jdev.JDevXmlContext xmlContext) throws oracle.bali.xml.model.XmlCommitException
oracle.bali.xml.model.XmlCommitException#addTagLibrary( JspLibrary, JProject, AbstractModel )public static void addTagLibrary(JspLibrary jspTagLibrary, Project project, oracle.bali.xml.model.AbstractModel model) throws oracle.bali.xml.model.XmlCommitException
jspTagLibrary - JSP tag library.project - Web application JSP page belongs to.model - XML model of the one of the JSP file type documents.oracle.bali.xml.model.XmlCommitExceptionpublic static java.util.List getJSFActionMethodBindings(oracle.bali.xml.model.AbstractModel model)
public static oracle.bali.xml.gui.jdev.JDevXmlContext createJspXmlContext(Context context, java.lang.String jspContent, boolean xmlSyntax)
context - IDE context has to have project.jspContent - Content of the JSP page or document.xmlSyntax - True if the given jsp content is in the XML format.public static java.util.Set<java.lang.String> getTagLibsDeclared(oracle.bali.xml.model.AbstractModel model)
model - to be searched