| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.jdeveloper.webapp.utils.WebDocumentUtil
public final class WebDocumentUtil
| Constructor Summary | |
|---|---|
WebDocumentUtil() | 
|
| Method Summary | |
|---|---|
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 | 
findHtmlNamespace(oracle.bali.xml.model.AbstractModel model, java.lang.String fallbackNamespace)Finds namespace of HTML elements in the given model.  | 
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 | 
findNodes(oracle.bali.xml.model.AbstractModel model, java.lang.String localName, java.lang.String namespace)Finds all nodes in the document that match given name and the namespace.  | 
static java.util.Iterator | 
findTagLibDirectives(oracle.bali.xml.model.AbstractModel model)Finds all taglib directive nodes in the document.  | 
static java.lang.String | 
getDefaultHtmlNamespace(oracle.bali.xml.model.XmlContext context)Returns a default HTML namespace to be used in the given context.  | 
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.lang.String | 
getHtmlNamespace(oracle.bali.xml.model.AbstractModel model)Finds HTML namesapce used in the document of the given model, or if none is used returns default HTML namesapce in its 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  | 
static org.w3c.dom.Node | 
importFragment(oracle.bali.xml.model.AbstractModel model, java.lang.String text, oracle.bali.xml.dom.position.DomPosition location)Parses the given markup text into a node then inserts it by calling insertNode().  | 
static org.w3c.dom.Node | 
importNode(oracle.bali.xml.model.AbstractModel model, org.w3c.dom.Node newNode, oracle.bali.xml.dom.position.DomPosition location)Delegates import of node to the XmlModel.insertNodes() method without copying given node.  | 
static org.w3c.dom.Node | 
importNodes(oracle.bali.xml.model.AbstractModel model, org.w3c.dom.Node[] newNodes, oracle.bali.xml.dom.position.DomPosition location, java.lang.String transactionName)Delegates import of nodes to the XmlModel.insertNodes() method without copying given nodes.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public WebDocumentUtil()
| Method Detail | 
|---|
public static org.w3c.dom.Node importNode(oracle.bali.xml.model.AbstractModel model,
                                          org.w3c.dom.Node newNode,
                                          oracle.bali.xml.dom.position.DomPosition location)
                                   throws oracle.bali.xml.model.XmlCommitException
model -newNode -location -oracle.bali.xml.model.XmlCommitExceptionAbstractModel#insertNodes(DomPosition, String, Transferable, boolean)
public static org.w3c.dom.Node importFragment(oracle.bali.xml.model.AbstractModel model,
                                              java.lang.String text,
                                              oracle.bali.xml.dom.position.DomPosition location)
                                       throws oracle.bali.xml.model.XmlCommitException
model -text - XML markup to parselocation - in the document where to insert given nodesoracle.bali.xml.model.XmlCommitException
public static org.w3c.dom.Node importNodes(oracle.bali.xml.model.AbstractModel model,
                                           org.w3c.dom.Node[] newNodes,
                                           oracle.bali.xml.dom.position.DomPosition location,
                                           java.lang.String transactionName)
                                    throws oracle.bali.xml.model.XmlCommitException
model -newNodes - list of nodes to be inserted in the modellocation - location in the document where to insert given nodestransactionName - name of the transactionoracle.bali.xml.model.XmlCommitException - if transaction can not be completedAbstractModel#insertNodes(DomPosition, String, Transferable, boolean);
public static java.util.Iterator findNodes(oracle.bali.xml.model.AbstractModel model,
                                           java.lang.String localName,
                                           java.lang.String namespace)
model -localName - name of the element to be matched. "link" for example. Do not use qualified name that includes prefix.namespace -public static java.util.Iterator findTagLibDirectives(oracle.bali.xml.model.AbstractModel model)
model -public static java.lang.String getDefaultHtmlNamespace(oracle.bali.xml.model.XmlContext context)
public static java.lang.String getDefaultJspNamespace(oracle.bali.xml.model.XmlContext context)
public static java.lang.String findHtmlNamespace(oracle.bali.xml.model.AbstractModel model,
                                                 java.lang.String fallbackNamespace)
model - to be searched for HTML elementsfallbackNamespace - namespace to be returned of model does not contain any HTML elements.getDefaultHtmlNamespace(XmlContext)public static java.lang.String getHtmlNamespace(oracle.bali.xml.model.AbstractModel model)
model -
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
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||