Package net.sf.wsdl2jibx.compiler.event

Examples of net.sf.wsdl2jibx.compiler.event.AttributeEvent


  /**
   *
   * @param attribute
   */
  protected void processAttribute(XmlSchemaAttribute attribute) {
    AttributeEvent event = createNewAttributeEvent(attribute);
   
    handler.foundAttribute(event);
  }
View Full Code Here


   
    if(simpleType!=null) {
      simpleTypeQName = XmlSchemaUtils.getSimpleTypeQName(simpleType);
    }
   
    AttributeEvent event = new AttributeEvent();
    event.setAttribute(attribute);
    event.setJavaQName(JavaSourceUtils.toJavaQName(simpleTypeQName));
    event.setName(attribute.getName());
    event.setRequired(event.getAttribute().getUse().getValue().equals("required"));
    event.setSimpleType(simpleTypeQName);
   
    return event;
  }
View Full Code Here

TOP

Related Classes of net.sf.wsdl2jibx.compiler.event.AttributeEvent

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.