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

How to use
ClassNameCollector
in
com.sun.tools.ws.processor.util

Best Java code snippets using com.sun.tools.ws.processor.util.ClassNameCollector (Showing top 20 results out of 315)

origin: org.glassfish.metro/webservices-tools

public WSDLModeler(WsimportOptions options, ErrorReceiver receiver, MetadataFinder forest) {
  super(options, receiver,forest);
  this.classNameCollector = new ClassNameCollector();
  this.explicitDefaultPackage = options.defaultPackage;
}
origin: com.sun.xml.ws/jaxws-tools

private boolean conflictsWithExceptionClass(String name) {
  Set<String> exceptionNames = classNameCollector.getExceptionClassNames();
  return exceptionNames != null && exceptionNames.contains(name);
}
origin: org.glassfish.metro/webservices-tools

private boolean conflictsWithJAXBClass(String name) {
  Set<String> jaxbNames = classNameCollector.getJaxbGeneratedClassNames();
  return jaxbNames != null && jaxbNames.contains(name);
}
origin: com.sun.xml.ws/jaxws-tools

protected void preVisit(Fault fault) throws Exception {
  if (!_exceptions.contains(fault.getJavaException())) {
    /* the same exception can be used in several faults, but that
     * doesn't mean that there is a conflict
     */
    _exceptions.add(fault.getJavaException());
    addExceptionClassName(fault.getJavaException().getName());
    for (Iterator iter = fault.getSubfaults();
      iter != null && iter.hasNext();) {
      Fault subfault = (Fault) iter.next();
      preVisit(subfault);
    }
  }
}
origin: javaee/metro-jax-ws

classNameCollector.process(model);
if (classNameCollector.getConflictingClassNames().isEmpty()) {
  if (errReceiver.hadError()) {
    return null;
classNameCollector.process(model);
if (classNameCollector.getConflictingClassNames().isEmpty()) {
boolean first = true;
for (Iterator iter =
    classNameCollector.getConflictingClassNames().iterator();
   iter.hasNext();
    ) {
origin: org.glassfish.metro/webservices-tools

public void visit(RpcLitStructure type) throws Exception {
  if(!doneVisitingJAXBModel){
    Set<String> classNames = type.getJaxbModel().getGeneratedClassNames();
    for(String className : classNames){
      addJAXBGeneratedClassName(className);
    }
    doneVisitingJAXBModel = true;
  }
}
origin: com.sun.xml.ws/jaxws-tools

private boolean conflictsWithSEIClass(String name) {
  Set<String> seiNames = classNameCollector.getSeiClassNames();
  return seiNames != null && seiNames.contains(name);
}
origin: com.sun.xml.ws/jaxws-tools

protected void preVisit(Port port) throws Exception {
  QName portTypeName = (QName)port.getProperty(ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME);
  if(_portTypeNames.contains(portTypeName))
    return;
  //in 2.0, stub/tie class are binding agnostic so they should be per port, that is multiple
  // bindings can share the same port
  addSEIClassName(port.getJavaInterface().getName());
}
origin: org.glassfish.metro/webservices-tools

protected void preVisit(Fault fault) throws Exception {
  if (!_exceptions.contains(fault.getJavaException())) {
    /* the same exception can be used in several faults, but that
     * doesn't mean that there is a conflict
     */
    _exceptions.add(fault.getJavaException());
    addExceptionClassName(fault.getJavaException().getName());
    for (Iterator iter = fault.getSubfaults();
      iter != null && iter.hasNext();) {
      Fault subfault = (Fault) iter.next();
      preVisit(subfault);
    }
  }
}
origin: com.sun.xml.ws/jaxws-tools

classNameCollector.process(model);
if (classNameCollector.getConflictingClassNames().isEmpty()) {
  if (errReceiver.hadError()) {
    return null;
classNameCollector.process(model);
if (classNameCollector.getConflictingClassNames().isEmpty()) {
boolean first = true;
for (Iterator iter =
    classNameCollector.getConflictingClassNames().iterator();
   iter.hasNext();
    ) {
origin: com.sun.xml.ws/jaxws-tools

public void visit(RpcLitStructure type) throws Exception {
  if(!doneVisitingJAXBModel){
    Set<String> classNames = type.getJaxbModel().getGeneratedClassNames();
    for(String className : classNames){
      addJAXBGeneratedClassName(className);
    }
    doneVisitingJAXBModel = true;
  }
}
origin: org.glassfish.metro/webservices-tools

private boolean conflictsWithSEIClass(String name) {
  Set<String> seiNames = classNameCollector.getSeiClassNames();
  return seiNames != null && seiNames.contains(name);
}
origin: javaee/metro-jax-ws

protected void preVisit(Port port) throws Exception {
  QName portTypeName = (QName)port.getProperty(ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME);
  if(_portTypeNames.contains(portTypeName))
    return;
  //in 2.0, stub/tie class are binding agnostic so they should be per port, that is multiple
  // bindings can share the same port
  addSEIClassName(port.getJavaInterface().getName());
}
origin: javaee/metro-jax-ws

protected void preVisit(Fault fault) throws Exception {
  if (!_exceptions.contains(fault.getJavaException())) {
    /* the same exception can be used in several faults, but that
     * doesn't mean that there is a conflict
     */
    _exceptions.add(fault.getJavaException());
    addExceptionClassName(fault.getJavaException().getName());
    for (Iterator iter = fault.getSubfaults();
      iter != null && iter.hasNext();) {
      Fault subfault = (Fault) iter.next();
      preVisit(subfault);
    }
  }
}
origin: javaee/metro-jax-ws

classNameCollector.process(model);
if (classNameCollector.getConflictingClassNames().isEmpty()) {
  if (errReceiver.hadError()) {
    return null;
classNameCollector.process(model);
if (classNameCollector.getConflictingClassNames().isEmpty()) {
boolean first = true;
for (Iterator iter =
    classNameCollector.getConflictingClassNames().iterator();
   iter.hasNext();
    ) {
origin: javaee/metro-jax-ws

public void visit(RpcLitStructure type) throws Exception {
  if(!doneVisitingJAXBModel){
    Set<String> classNames = type.getJaxbModel().getGeneratedClassNames();
    for(String className : classNames){
      addJAXBGeneratedClassName(className);
    }
    doneVisitingJAXBModel = true;
  }
}
origin: javaee/metro-jax-ws

private boolean conflictsWithSEIClass(String name) {
  Set<String> seiNames = classNameCollector.getSeiClassNames();
  return seiNames != null && seiNames.contains(name);
}
origin: com.sun.xml.ws/jaxws-tools

public WSDLModeler(WsimportOptions options, ErrorReceiver receiver, MetadataFinder forest) {
  super(options, receiver,forest);
  this.classNameCollector = new ClassNameCollector();
  this.explicitDefaultPackage = options.defaultPackage;
}
origin: org.glassfish.metro/webservices-tools

private boolean conflictsWithExceptionClass(String name) {
  Set<String> exceptionNames = classNameCollector.getExceptionClassNames();
  return exceptionNames != null && exceptionNames.contains(name);
}
origin: org.glassfish.metro/webservices-tools

protected void preVisit(Port port) throws Exception {
  QName portTypeName = (QName)port.getProperty(ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME);
  if(_portTypeNames.contains(portTypeName))
    return;
  //in 2.0, stub/tie class are binding agnostic so they should be per port, that is multiple
  // bindings can share the same port
  addSEIClassName(port.getJavaInterface().getName());
}
com.sun.tools.ws.processor.utilClassNameCollector

Javadoc

This class writes out a Model as an XML document.

Most used methods

  • <init>
  • addExceptionClassName
  • addJAXBGeneratedClassName
  • addSEIClassName
  • getConflictingClassNames
  • getExceptionClassNames
  • getJaxbGeneratedClassNames
  • getSeiClassNames
  • preVisit
  • process
  • registerClassName
  • visit
  • registerClassName,
  • visit,
  • visitBlock,
  • visitType

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • 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