congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DomElementMapper.unmarshalElement
Code IndexAdd Tabnine to your IDE (free)

How to use
unmarshalElement
method
in
org.jibx.extras.DomElementMapper

Best Java code snippets using org.jibx.extras.DomElementMapper.unmarshalElement (Showing top 1 results out of 315)

origin: org.jibx/jibx-extras

  public Object unmarshal(Object obj, IUnmarshallingContext ictx)
    throws JiBXException {
    
    // verify the entry conditions
    if (!(ictx instanceof UnmarshallingContext)) {
      throw new JiBXException
        ("Unmarshalling context not of expected type");
    } else if (m_name != null && !ictx.isAt(m_uri, m_name)) {
      ((UnmarshallingContext)ictx).throwStartTagNameError(m_uri, m_name);
    }
    
    // position to element start tag
    m_unmarshalContext = (UnmarshallingContext)ictx;
    m_unmarshalContext.toStart();
    
    // unmarshal element to document model
    try {
      return unmarshalElement();
    } catch (IOException e) {
      throw new JiBXException("Error reading from document", e);
    }
  }
}
org.jibx.extrasDomElementMapperunmarshalElement

Popular methods of DomElementMapper

  • marshalElement

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top plugins for WebStorm
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