Tabnine Logo
BindingHolder.getBinding
Code IndexAdd Tabnine to your IDE (free)

How to use
getBinding
method
in
org.jibx.binding.model.BindingHolder

Best Java code snippets using org.jibx.binding.model.BindingHolder.getBinding (Showing top 4 results out of 315)

origin: org.jibx/jibx-tools

/**
 * Get the root binding definition. This is only allowed after the call to
 * {@link #writeBindings(String, String, List, ProblemHandler)}.
 * 
 * @return root binding element
 */
public BindingElement getRootBinding() {
  return m_rootHolder.getBinding();
}

origin: stackoverflow.com

 public void onBindViewHolder(BindingHolder holder, int position) {
  final T item = mItems.get(position);
  holder.getBinding().setVariable(BR.item, item);
  holder.getBinding().executePendingBindings();
}
origin: org.jibx/jibx-tools

File path = m_generationParameters.getGeneratePath();
BindingHolder rhold = m_bindingGenerator.finish(name);
if (rhold.getBinding().topChildren().size() > 0) {
origin: org.apache.cxf/cxf-rt-databinding-jibx

public static void getDefinitions(final BindingHolder holder, 
                 final Map<org.jibx.runtime.QName, MappingElement> types, 
                 final Map<org.jibx.runtime.QName, MappingElement> elems) {
  TreeContext ctx = new TreeContext(new DummyClassLocator());
  ModelVisitor visitor = new ModelVisitor() {
    public boolean visit(MappingElement mapping) {
      org.jibx.runtime.QName qname = mapping.getTypeQName();
      if (qname != null) {
        types.put(qname, mapping);
      }
      String name = mapping.getName();
      if (name != null) {
        NamespaceElement ns = mapping.getNamespace();
        if (ns == null) {
          qname = new org.jibx.runtime.QName(holder.getElementDefaultNamespace(), name);
        } else {
          qname = new org.jibx.runtime.QName(mapping.getNamespace().getUri(), name);
        }
        elems.put(qname, mapping);
      }
      return false;
    }
  };
  ctx.tourTree(holder.getBinding(), visitor);
}
public String getType(QName qn, boolean element) {
org.jibx.binding.modelBindingHoldergetBinding

Popular methods of BindingHolder

  • getElementDefaultNamespace
  • addFormat
  • addMapping
  • addNamespaceUsage
  • addTypeNameReference
  • getFileName
  • getMappingCount
  • getNamespace
  • setFileName

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • JTable (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Best IntelliJ 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