Tabnine Logo
ConnectorDescriptorImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
ConnectorDescriptorImpl
in
org.jboss.shrinkwrap.descriptor.impl.connector15

Best Java code snippets using org.jboss.shrinkwrap.descriptor.impl.connector15.ConnectorDescriptorImpl (Showing top 12 results out of 315)

origin: org.jboss.ironjacamar/ironjacamar-embedded

public ConnectorDescriptorImpl(String descriptorName, Node node)
{
 super(descriptorName);
 this.model = node;
 addDefaultNamespaces();
}
origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

/**
* Adds the default namespaces as defined in the specification 
* @return the current instance of <code>ConnectorDescriptor</code> 
*/
public ConnectorDescriptor addDefaultNamespaces()
{
 addNamespace("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
 addNamespace("xsi:schemaLocation", "http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd");
 addNamespace("xmlns", "http://java.sun.com/xml/ns/j2ee");
 return this;
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-embedded

/**
* If not already created, a new <code>icon</code> element will be created and returned.
* Otherwise, the first existing <code>icon</code> element will be returned.
* @return the instance defined for the element <code>icon</code> 
*/
public IconType<ConnectorDescriptor> getOrCreateIcon()
{
 List<Node> nodeList = model.get("icon");
 if (nodeList != null &&  nodeList.size() > 0)
 {
   return new IconTypeImpl<ConnectorDescriptor>(this, "icon", model, nodeList.get(0));
 }
 return createIcon();
}
origin: org.projectodd.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

/**
* If not already created, a new <code>icon</code> element will be created and returned.
* Otherwise, the first existing <code>icon</code> element will be returned.
* @return the instance defined for the element <code>icon</code> 
*/
public IconType<ConnectorDescriptor> getOrCreateIcon()
{
 List<Node> nodeList = model.get("icon");
 if (nodeList != null &&  nodeList.size() > 0)
 {
   return new IconTypeImpl<ConnectorDescriptor>(this, "icon", model, nodeList.get(0));
 }
 return createIcon();
}
origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

public ConnectorDescriptorImpl(String descriptorName, Node node)
{
 super(descriptorName);
 this.model = node;
 addDefaultNamespaces();
}
origin: org.jboss.ironjacamar/ironjacamar-embedded

/**
* Adds the default namespaces as defined in the specification 
* @return the current instance of <code>ConnectorDescriptor</code> 
*/
public ConnectorDescriptor addDefaultNamespaces()
{
 addNamespace("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
 addNamespace("xsi:schemaLocation", "http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd");
 addNamespace("xmlns", "http://java.sun.com/xml/ns/j2ee");
 return this;
}
origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

/**
* If not already created, a new <code>icon</code> element will be created and returned.
* Otherwise, the first existing <code>icon</code> element will be returned.
* @return the instance defined for the element <code>icon</code> 
*/
public IconType<ConnectorDescriptor> getOrCreateIcon()
{
 List<Node> nodeList = model.get("icon");
 if (nodeList != null &&  nodeList.size() > 0)
 {
   return new IconTypeImpl<ConnectorDescriptor>(this, "icon", model, nodeList.get(0));
 }
 return createIcon();
}
origin: org.projectodd.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

public ConnectorDescriptorImpl(String descriptorName, Node node)
{
 super(descriptorName);
 this.model = node;
 addDefaultNamespaces();
}
origin: org.projectodd.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

/**
* Adds the default namespaces as defined in the specification 
* @return the current instance of <code>ConnectorDescriptor</code> 
*/
public ConnectorDescriptor addDefaultNamespaces()
{
 addNamespace("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
 addNamespace("xsi:schemaLocation", "http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd");
 addNamespace("xmlns", "http://java.sun.com/xml/ns/j2ee");
 return this;
}
origin: org.jboss.ironjacamar/ironjacamar-embedded

/**
* If not already created, a new <code>icon</code> element will be created and returned.
* Otherwise, the first existing <code>icon</code> element will be returned.
* @return the instance defined for the element <code>icon</code> 
*/
public IconType<ConnectorDescriptor> getOrCreateIcon()
{
 List<Node> nodeList = model.get("icon");
 if (nodeList != null &&  nodeList.size() > 0)
 {
   return new IconTypeImpl<ConnectorDescriptor>(this, "icon", model, nodeList.get(0));
 }
 return createIcon();
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-embedded

public ConnectorDescriptorImpl(String descriptorName, Node node)
{
 super(descriptorName);
 this.model = node;
 addDefaultNamespaces();
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-embedded

/**
* Adds the default namespaces as defined in the specification 
* @return the current instance of <code>ConnectorDescriptor</code> 
*/
public ConnectorDescriptor addDefaultNamespaces()
{
 addNamespace("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
 addNamespace("xsi:schemaLocation", "http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd");
 addNamespace("xmlns", "http://java.sun.com/xml/ns/j2ee");
 return this;
}
org.jboss.shrinkwrap.descriptor.impl.connector15ConnectorDescriptorImpl

Javadoc

This deployment descriptor provides the functionalities as described in the specification

Example:

ConnectorDescriptor descriptor = Descriptors.create(ConnectorDescriptor.class);

Most used methods

  • addDefaultNamespaces
    Adds the default namespaces as defined in the specification
  • addNamespace
    Adds a new namespace
  • createIcon
    Creates a new icon element

Popular in Java

  • Updating database using SQL prepared statement
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now