Package org.jboss.shrinkwrap.descriptor.spi.node

Examples of org.jboss.shrinkwrap.descriptor.spi.node.Node


    * Otherwise, the existing <code>cross-parameter</code> element will be returned.
    * @return  a new or existing instance of <code>CrossParameterType<MethodType<T>></code>
    */
   public CrossParameterType<MethodType<T>> getOrCreateCrossParameter()
   {
      Node node = childNode.getOrCreate("cross-parameter");
      CrossParameterType<MethodType<T>> crossParameter = new CrossParameterTypeImpl<MethodType<T>>(this, "cross-parameter", childNode, node);
      return crossParameter;
   }
View Full Code Here


    * Otherwise, the existing <code>return-value</code> element will be returned.
    * @return  a new or existing instance of <code>ReturnValueType<MethodType<T>></code>
    */
   public ReturnValueType<MethodType<T>> getOrCreateReturnValue()
   {
      Node node = childNode.getOrCreate("return-value");
      ReturnValueType<MethodType<T>> returnValue = new ReturnValueTypeImpl<MethodType<T>>(this, "return-value", childNode, node);
      return returnValue;
   }
View Full Code Here

    * Otherwise, the existing <code>cross-parameter</code> element will be returned.
    * @return  a new or existing instance of <code>CrossParameterType<ConstructorType<T>></code>
    */
   public CrossParameterType<ConstructorType<T>> getOrCreateCrossParameter()
   {
      Node node = childNode.getOrCreate("cross-parameter");
      CrossParameterType<ConstructorType<T>> crossParameter = new CrossParameterTypeImpl<ConstructorType<T>>(this, "cross-parameter", childNode, node);
      return crossParameter;
   }
View Full Code Here

    * Otherwise, the existing <code>return-value</code> element will be returned.
    * @return  a new or existing instance of <code>ReturnValueType<ConstructorType<T>></code>
    */
   public ReturnValueType<ConstructorType<T>> getOrCreateReturnValue()
   {
      Node node = childNode.getOrCreate("return-value");
      ReturnValueType<ConstructorType<T>> returnValue = new ReturnValueTypeImpl<ConstructorType<T>>(this, "return-value", childNode, node);
      return returnValue;
   }
View Full Code Here

   // Constructor
   // -------------------------------------------------------------------------------------||

   public BeansDescriptorImpl(String descriptorName)
   {
       this(descriptorName, new Node("beans"));
   }
View Full Code Here

    * Otherwise, the existing <code>interceptors</code> element will be returned.
    * @return  a new or existing instance of <code>Interceptors<BeansDescriptor></code>
    */
   public Interceptors<BeansDescriptor> getOrCreateInterceptors()
   {
      Node node = model.getOrCreate("interceptors");
      Interceptors<BeansDescriptor> interceptors = new InterceptorsImpl<BeansDescriptor>(this, "interceptors", model, node);
      return interceptors;
   }
View Full Code Here

    * Otherwise, the existing <code>decorators</code> element will be returned.
    * @return  a new or existing instance of <code>Decorators<BeansDescriptor></code>
    */
   public Decorators<BeansDescriptor> getOrCreateDecorators()
   {
      Node node = model.getOrCreate("decorators");
      Decorators<BeansDescriptor> decorators = new DecoratorsImpl<BeansDescriptor>(this, "decorators", model, node);
      return decorators;
   }
View Full Code Here

    * Otherwise, the existing <code>alternatives</code> element will be returned.
    * @return  a new or existing instance of <code>Alternatives<BeansDescriptor></code>
    */
   public Alternatives<BeansDescriptor> getOrCreateAlternatives()
   {
      Node node = model.getOrCreate("alternatives");
      Alternatives<BeansDescriptor> alternatives = new AlternativesImpl<BeansDescriptor>(this, "alternatives", model, node);
      return alternatives;
   }
View Full Code Here

    * Otherwise, the existing <code>interceptors</code> element will be returned.
    * @return  a new or existing instance of <code>Interceptors<Beans<T>></code>
    */
   public Interceptors<Beans<T>> getOrCreateInterceptors()
   {
      Node node = childNode.getOrCreate("interceptors");
      Interceptors<Beans<T>> interceptors = new InterceptorsImpl<Beans<T>>(this, "interceptors", childNode, node);
      return interceptors;
   }
View Full Code Here

    * Otherwise, the existing <code>decorators</code> element will be returned.
    * @return  a new or existing instance of <code>Decorators<Beans<T>></code>
    */
   public Decorators<Beans<T>> getOrCreateDecorators()
   {
      Node node = childNode.getOrCreate("decorators");
      Decorators<Beans<T>> decorators = new DecoratorsImpl<Beans<T>>(this, "decorators", childNode, node);
      return decorators;
   }
View Full Code Here

TOP

Related Classes of org.jboss.shrinkwrap.descriptor.spi.node.Node

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.