ChoiceContentComplexTypeBuilder
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.sun.tools.xjc.reader.xmlschema.ct.ChoiceContentComplexTypeBuilder(Showing top 5 results out of 315)

origin: com.sun.xml.bind/jaxb-xjc

public boolean isApplicable(XSComplexType ct) {
  if( !bgmBuilder.getGlobalBinding().isChoiceContentPropertyEnabled() )
    return false;
  if( ct.getBaseType()!=schemas.getAnyType() )
    // My reading of the spec is that if a complex type is
    // derived from another complex type by extension,
    // its top level model group is always a sequence
    // that combines the base type content model and
    // the extension defined in the new complex type.
    return false;
  XSParticle p = ct.getContentType().asParticle();
  if(p==null)
    return false;
  XSModelGroup mg = getTopLevelModelGroup(p);
  if( mg.getCompositor()!=XSModelGroup.CHOICE )
    return false;
  if( p.isRepeated() )
    return false;
  return true;
}
origin: org.glassfish.jaxb/jaxb-xjc

public boolean isApplicable(XSComplexType ct) {
  if( !bgmBuilder.getGlobalBinding().isChoiceContentPropertyEnabled() )
    return false;
  if( ct.getBaseType()!=schemas.getAnyType() )
    // My reading of the spec is that if a complex type is
    // derived from another complex type by extension,
    // its top level model group is always a sequence
    // that combines the base type content model and
    // the extension defined in the new complex type.
    return false;
  XSParticle p = ct.getContentType().asParticle();
  if(p==null)
    return false;
  XSModelGroup mg = getTopLevelModelGroup(p);
  if( mg.getCompositor()!=XSModelGroup.CHOICE )
    return false;
  if( p.isRepeated() )
    return false;
  return true;
}
origin: org.jvnet.jaxb2_commons/jaxb2-basics-jaxb-xjc

public boolean isApplicable(XSComplexType ct) {
  if( !bgmBuilder.getGlobalBinding().isChoiceContentPropertyEnabled() )
    return false;
  if( ct.getBaseType()!=schemas.getAnyType() )
    // My reading of the spec is that if a complex type is
    // derived from another complex type by extension,
    // its top level model group is always a sequence
    // that combines the base type content model and
    // the extension defined in the new complex type.
    return false;
  XSParticle p = ct.getContentType().asParticle();
  if(p==null)
    return false;
  XSModelGroup mg = getTopLevelModelGroup(p);
  if( mg.getCompositor()!=XSModelGroup.CHOICE )
    return false;
  if( p.isRepeated() )
    return false;
  return true;
}
origin: org.jvnet.jaxb2_commons/jaxb-xjc

public boolean isApplicable(XSComplexType ct) {
  if( !bgmBuilder.getGlobalBinding().isChoiceContentPropertyEnabled() )
    return false;
  if( ct.getBaseType()!=schemas.getAnyType() )
    // My reading of the spec is that if a complex type is
    // derived from another complex type by extension,
    // its top level model group is always a sequence
    // that combines the base type content model and
    // the extension defined in the new complex type.
    return false;
  XSParticle p = ct.getContentType().asParticle();
  if(p==null)
    return false;
  XSModelGroup mg = getTopLevelModelGroup(p);
  if( mg.getCompositor()!=XSModelGroup.CHOICE )
    return false;
  if( p.isRepeated() )
    return false;
  return true;
}
origin: com.sun.xml.bind/jaxb-osgi

public boolean isApplicable(XSComplexType ct) {
  if( !bgmBuilder.getGlobalBinding().isChoiceContentPropertyEnabled() )
    return false;
  if( ct.getBaseType()!=schemas.getAnyType() )
    // My reading of the spec is that if a complex type is
    // derived from another complex type by extension,
    // its top level model group is always a sequence
    // that combines the base type content model and
    // the extension defined in the new complex type.
    return false;
  XSParticle p = ct.getContentType().asParticle();
  if(p==null)
    return false;
  XSModelGroup mg = getTopLevelModelGroup(p);
  if( mg.getCompositor()!=XSModelGroup.CHOICE )
    return false;
  if( p.isRepeated() )
    return false;
  return true;
}
com.sun.tools.xjc.reader.xmlschema.ctChoiceContentComplexTypeBuilder

Javadoc

Binds a complex type whose immediate child is a choice model group to a choice content interface.

Most used methods

  • getTopLevelModelGroup

Popular classes and methods

  • runOnUiThread (Activity)
  • findViewById (Activity)
  • putExtra (Intent)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • RandomAccessFile (java.io)
    Saves binary data to the local storage; currently using hex encoding. The string is prefixed with "h
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • SortedMap (java.util)
    A Map that further provides a total ordering on its keys. The map is ordered according to the Compar
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)