congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ConnectorDescriptorImpl
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.jboss.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://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/connector_1_7.xsd");
 addNamespace("xmlns", "http://xmlns.jcp.org/xml/ns/javaee");
 return this;
}
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.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.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://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/connector_1_7.xsd");
 addNamespace("xmlns", "http://xmlns.jcp.org/xml/ns/javaee");
 return this;
}
origin: org.projectodd.shrinkwrap.descriptors/shrinkwrap-descriptors-impl-javaee

public ConnectorDescriptorImpl(String descriptorName, Node node)
{
 super(descriptorName);
 this.model = node;
 addDefaultNamespaces();
}
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/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/javaee http://java.sun.com/xml/ns/javaee/connector_1_7.xsd");
 addNamespace("xmlns", "http://java.sun.com/xml/ns/javaee");
 return this;
}
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

/**
* 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

/**
* 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/javaee http://java.sun.com/xml/ns/javaee/connector_1_7.xsd");
 addNamespace("xmlns", "http://java.sun.com/xml/ns/javaee");
 return this;
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-embedded

public ConnectorDescriptorImpl(String descriptorName, Node node)
{
 super(descriptorName);
 this.model = node;
 addDefaultNamespaces();
}
org.jboss.shrinkwrap.descriptor.impl.connector17ConnectorDescriptorImpl

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

  • Finding current android device location
  • startActivity (Activity)
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Table (org.hibernate.mapping)
    A relational table
  • Top Sublime Text plugins
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