Tabnine Logo
Message.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
com.sun.tools.ws.wsdl.document.Message

Best Java code snippets using com.sun.tools.ws.wsdl.document.Message.getName (Showing top 20 results out of 315)

origin: com.sun.xml.ws/jaxws-tools

public Parameter(String name, Entity entity) {
  super(entity);
  this.name = name;
  if(entity instanceof com.sun.tools.ws.wsdl.document.Message){
    this.entityName = ((com.sun.tools.ws.wsdl.document.Message)entity).getName();
  }else if(entity instanceof MessagePart){
    this.entityName = ((MessagePart)entity).getName();
  }else{
    this.entityName = name;
  }
}
origin: org.glassfish.metro/webservices-tools

public Parameter(String name, Entity entity) {
  super(entity);
  this.name = name;
  if(entity instanceof com.sun.tools.ws.wsdl.document.Message){
    this.entityName = ((com.sun.tools.ws.wsdl.document.Message)entity).getName();
  }else if(entity instanceof MessagePart){
    this.entityName = ((MessagePart)entity).getName();
  }else{
    this.entityName = name;
  }
}
origin: javaee/metro-jax-ws

public Parameter(String name, Entity entity) {
  super(entity);
  this.name = name;
  if(entity instanceof com.sun.tools.ws.wsdl.document.Message){
    this.entityName = ((com.sun.tools.ws.wsdl.document.Message)entity).getName();
  }else if(entity instanceof MessagePart){
    this.entityName = ((MessagePart)entity).getName();
  }else{
    this.entityName = name;
  }
}
origin: com.sun.xml.ws/jaxws-tools

public void validateThis() {
  if (getName() == null) {
    errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message"));
    throw new AbortException();
  }
}
origin: org.glassfish.metro/webservices-tools

public void validateThis() {
  if (getName() == null) {
    errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message"));
    throw new AbortException();
  }
}
origin: com.sun.xml.ws/jaxws-tools

public void addBodyBlock(Block b) {
  if (_bodyBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _bodyBlocks.put(b.getName(), b);
  b.setLocation(Block.BODY);
}
origin: javaee/metro-jax-ws

/** attachment block */
public void addAttachmentBlock(Block b) {
  if (_attachmentBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _attachmentBlocks.put(b.getName(), b);
  b.setLocation(Block.ATTACHMENT);
}
origin: com.sun.xml.ws/jaxws-tools

/** attachment block */
public void addAttachmentBlock(Block b) {
  if (_attachmentBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _attachmentBlocks.put(b.getName(), b);
  b.setLocation(Block.ATTACHMENT);
}
origin: org.glassfish.metro/webservices-tools

public void addHeaderBlock(Block b) {
  if (_headerBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _headerBlocks.put(b.getName(), b);
  b.setLocation(Block.HEADER);
}
origin: org.glassfish.metro/webservices-tools

/** attachment block */
public void addAttachmentBlock(Block b) {
  if (_attachmentBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _attachmentBlocks.put(b.getName(), b);
  b.setLocation(Block.ATTACHMENT);
}
origin: javaee/metro-jax-ws

public void addHeaderBlock(Block b) {
  if (_headerBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _headerBlocks.put(b.getName(), b);
  b.setLocation(Block.HEADER);
}
origin: org.glassfish.metro/webservices-tools

public void add(MessagePart part) {
  if (_partsByName.get(part.getName()) != null){
    errorReceiver.error(part.getLocator(), WsdlMessages.VALIDATION_DUPLICATE_PART_NAME(getName(), part.getName()));
    throw new AbortException();
  }
  
  if(part.getDescriptor() != null && part.getDescriptorKind() != null) {
    _partsByName.put(part.getName(), part);
    _parts.add(part);
  } else
    errorReceiver.warning(part.getLocator(), WsdlMessages.PARSING_ELEMENT_OR_TYPE_REQUIRED(part.getName()));
}
origin: com.sun.xml.ws/jaxws-tools

public void addHeaderBlock(Block b) {
  if (_headerBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _headerBlocks.put(b.getName(), b);
  b.setLocation(Block.HEADER);
}
origin: org.glassfish.metro/webservices-tools

public void addBodyBlock(Block b) {
  if (_bodyBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _bodyBlocks.put(b.getName(), b);
  b.setLocation(Block.BODY);
}
origin: javaee/metro-jax-ws

public void addBodyBlock(Block b) {
  if (_bodyBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _bodyBlocks.put(b.getName(), b);
  b.setLocation(Block.BODY);
}
origin: javaee/metro-jax-ws

public void addHeaderBlock(Block b) {
  if (_headerBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _headerBlocks.put(b.getName(), b);
  b.setLocation(Block.HEADER);
}
origin: javaee/metro-jax-ws

public void addBodyBlock(Block b) {
  if (_bodyBlocks.containsKey(b.getName())) {
    errorReceiver.error(getEntity().getLocator(), ModelMessages.MODEL_PART_NOT_UNIQUE(((com.sun.tools.ws.wsdl.document.Message)getEntity()).getName(), b.getName()));
    throw new AbortException();
  }
  _bodyBlocks.put(b.getName(), b);
  b.setLocation(Block.BODY);
}
origin: com.sun.xml.ws/jaxws-tools

public void add(MessagePart part) {
  if (_partsByName.get(part.getName()) != null){
    errorReceiver.error(part.getLocator(), WsdlMessages.VALIDATION_DUPLICATE_PART_NAME(getName(), part.getName()));
    throw new AbortException();
  }
  
  if(part.getDescriptor() != null && part.getDescriptorKind() != null) {
    _partsByName.put(part.getName(), part);
    _parts.add(part);
  } else
    errorReceiver.warning(part.getLocator(), WsdlMessages.PARSING_ELEMENT_OR_TYPE_REQUIRED(part.getName()));
}
origin: javaee/metro-jax-ws

public void add(MessagePart part) {
  if (_partsByName.get(part.getName()) != null){
    errorReceiver.error(part.getLocator(), WsdlMessages.VALIDATION_DUPLICATE_PART_NAME(getName(), part.getName()));
    throw new AbortException();
  }
  
  if(part.getDescriptor() != null && part.getDescriptorKind() != null) {
    _partsByName.put(part.getName(), part);
    _parts.add(part);
  } else
    errorReceiver.warning(part.getLocator(), WsdlMessages.PARSING_ELEMENT_OR_TYPE_REQUIRED(part.getName()));
}
origin: javaee/metro-jax-ws

public void add(MessagePart part) {
  if (_partsByName.get(part.getName()) != null){
    errorReceiver.error(part.getLocator(), WsdlMessages.VALIDATION_DUPLICATE_PART_NAME(getName(), part.getName()));
    throw new AbortException();
  }
  
  if(part.getDescriptor() != null && part.getDescriptorKind() != null) {
    _partsByName.put(part.getName(), part);
    _parts.add(part);
  } else
    errorReceiver.warning(part.getLocator(), WsdlMessages.PARSING_ELEMENT_OR_TYPE_REQUIRED(part.getName()));
}
com.sun.tools.ws.wsdl.documentMessagegetName

Popular methods of Message

  • <init>
  • accept
  • add
  • getDefining
  • getLocator
  • getPart
  • getParts
  • numParts
  • parts
  • setDocumentation
  • setName
  • setName

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top Vim 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