Codota Logo
DetailImpl
Code IndexAdd Codota to your IDE (free)

How to use
DetailImpl
in
org.jboss.ws.core.soap

Best Java code snippets using org.jboss.ws.core.soap.DetailImpl (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: stackoverflow.com

@Path("getValues/")
 @GET   
 @Produces( MediaType.APPLICATION_JSON)
 public DetailInterface getClientDetail() {
   DetailInterface di = new DetailImpl()
   return di; 
 }
origin: org.jboss.ws.native/jbossws-native-core

public DetailEntry addDetailEntry(Name name) throws SOAPException
{
 DetailEntryImpl detailEntry = new DetailEntryImpl(name);
 addChildElement(detailEntry);
 return detailEntry;
}
origin: org.jboss.ws.native/jbossws-native-core

@Override
public SOAPElement addChildElement(SOAPElement child) throws SOAPException
{
 if (!(child instanceof DetailEntry))
   child = convertToDetailEntry((SOAPElementImpl)child);
 return super.addChildElement(child);
}
origin: org.jboss.ws.native/jbossws-native-core

/** Converts the given element to a Detail. */
DetailImpl(SOAPElementImpl element)
{
 super(element.getElementName());
 // altough detail schema does not define attributes, copy them for completeness 
 DOMUtils.copyAttributes(this, element);
 try
 {
   NodeList nodeList = element.getChildNodes();
   for (int i = 0; i < nodeList.getLength(); i++)
   {
    Node node = nodeList.item(i);
    if (node instanceof SOAPElement)
      addChildElement((SOAPElement)node);
    else
      appendChild(node);
   }
 }
 catch (SOAPException e)
 {
   throw new WSException(BundleUtils.getMessage(bundle, "UNABLE_TO_CREATE_FAULT_DETAIL"),  e);
 }
}
origin: org.jboss.ws.native/jbossws-native-core

public Iterator getDetailEntries()
{
 List<DetailEntry> list = new ArrayList<DetailEntry>();
 NodeList nodeList = getChildNodes();
 for (int i = 0; i < nodeList.getLength(); i++)
 {
   org.w3c.dom.Node node = nodeList.item(i);
   if (node instanceof DetailEntry)
    list.add((DetailEntry)node);
 }
 return list.iterator();
}
origin: org.jboss.ws.native/jbossws-native-core

@Override
public Detail createDetail() throws SOAPException
{
 assertEnvNamespace();
 return SOAPConstants.URI_NS_SOAP_1_1_ENVELOPE.equals(envNamespace) ? new DetailImpl() :
   new DetailImpl(SOAPConstants.SOAP_ENV_PREFIX, envNamespace);
}
origin: org.jboss.ws.native/jbossws-native-core

public DetailEntry addDetailEntry(QName qname) throws SOAPException
{
 DetailEntryImpl detailEntry = new DetailEntryImpl(qname);
 addChildElement(detailEntry);
 return detailEntry;
}
origin: org.jboss.ws.native/jbossws-native-core

private SOAPFaultElement convertToFaultElement(SOAPElementImpl element)
{
 element.detachNode();
 QName elementName = element.getElementQName();
 SOAPFaultElement faultElement;
 if (Constants.NS_SOAP11_ENV.equals(getNamespaceURI()) ? Constants.SOAP11_DETAIL.equals(elementName) : Constants.SOAP12_DETAIL.equals(elementName))
   faultElement = new DetailImpl(element);
 else faultElement = new SOAPFaultElementImpl(element);
 log.trace("convertToFaultElement : " + faultElement);
 return faultElement;
}
origin: org.jboss.ws.native/jbossws-native-core

/** Creates an optional Detail object and sets it as the Detail object for this SOAPFault  object.
*/
public Detail addDetail() throws SOAPException
{
 if (Constants.NS_SOAP11_ENV.equals(getNamespaceURI()))
 {
   if (detail == null)
    findSoap11DetailElement();
   if (detail != null)
    throw new SOAPException(BundleUtils.getMessage(bundle, "ALREADY_CONTAINS_DETAIL"));
   detail = new DetailImpl();
 }
 else
 {
   if (detail == null)
    findSoap12DetailElement();
   if (detail != null)
    throw new SOAPException(BundleUtils.getMessage(bundle, "ALREADY_CONTAINS_DETAIL"));
   detail = new DetailImpl(getPrefix(), getNamespaceURI());
 }
 detail = (Detail)addChildElement(detail);
 return detail;
}
org.jboss.ws.core.soapDetailImpl

Javadoc

A container for DetailEntry objects. DetailEntry objects give detailed error information that is application-specific and related to the SOAPBody object that contains it. A Detail object, which is part of a SOAPFault object, can be retrieved using the method SOAPFault.getDetail. The Detail interface provides two methods. One creates a new DetailEntry object and also automatically adds it to the Detail object. The second method gets a list of the DetailEntry objects contained in a Detail object.

Most used methods

  • <init>
    Converts the given element to a Detail.
  • addChildElement
  • appendChild
  • convertToDetailEntry
  • getChildNodes

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • runOnUiThread (Activity)
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now