congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
SchemaBinding.addElement
Code IndexAdd Tabnine to your IDE (free)

How to use
addElement
method
in
org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding

Best Java code snippets using org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding.addElement (Showing top 2 results out of 315)

origin: jboss/jbossxb

public ElementBinding addElement(QName name, TypeBinding type)
{
 ElementBinding element = new ElementBinding(this, name, type);
 addElement(element);
 return element;
}
origin: org.jboss.ws.native/jbossws-native-core

public void bindParameterToElement(SchemaBinding schemaBinding, QName xmlName, QName xmlType)
{
 TypeBinding typeBinding;
 boolean isAnonymousType = xmlType.getLocalPart().startsWith(">");
 if (isAnonymousType)
 {
   typeBinding = getAnonymousTypeBinding(schemaBinding, xmlType);
 }
 else
 {
   typeBinding = schemaBinding.getType(xmlType);
 }
 if (typeBinding != null)
 {
   if(!isAnonymousType)
   {
    ElementBinding eb = schemaBinding.addElement(xmlName, typeBinding);
    eb.setNillable(true);
   }
 }
 else if (xmlType.equals(Constants.TYPE_LITERAL_ANYTYPE) == false)
 {
   throw NativeMessages.MESSAGES.rootTypeNotFoundInSchema(xmlType);
 }
}
org.jboss.xb.binding.sunday.unmarshallingSchemaBindingaddElement

Popular methods of SchemaBinding

  • getType
  • setReplacePropertyRefs
  • addType
  • getElement
  • getElements
  • getPackageMetaData
  • setIgnoreUnresolvedFieldOrClass
    If a field is not found in the parent class to set child value on or a class an element is bound to
  • setPackageMetaData
  • <init>
  • addElementParticle
  • addGroup
  • getElementParticle
  • addGroup,
  • getElementParticle,
  • getElementParticles,
  • getSchemaResolver,
  • getSimpleContentProperty,
  • getTypes,
  • getXopMarshaller,
  • getXopUnmarshaller,
  • isIgnoreLowLine

Popular in Java

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now