Tabnine Logo
XMLSchemaReader.getType
Code IndexAdd Tabnine to your IDE (free)

How to use
getType
method
in
com.sun.msv.reader.xmlschema.XMLSchemaReader

Best Java code snippets using com.sun.msv.reader.xmlschema.XMLSchemaReader.getType (Showing top 8 results out of 315)

origin: msv/msv

private Type getType( XMLSchemaTypeExp exp ) {
  if( exp instanceof ComplexTypeExp ) {
    final ComplexTypeExp cexp = (ComplexTypeExp)exp;
    return new Type(){
      public int getDerivationMethod() { return cexp.derivationMethod; }
      public int getBlockValue() { return cexp.block; }
      public Type getBaseType() {
        if( cexp.complexBaseType!=null )
          return getType(cexp.complexBaseType);
        if( cexp.simpleBaseType!=null )
          return getType(cexp.simpleBaseType.getCreatedType());
        return getType(complexUrType);
      }
      public Object getCore() { return cexp; }
    };
  } else {
    return getType( ((SimpleTypeExp)exp).getDatatype() );
  }
}

origin: com.sun.xml.bind/jaxb-extra-osgi

private Type getType( XMLSchemaTypeExp exp ) {
  if( exp instanceof ComplexTypeExp ) {
    final ComplexTypeExp cexp = (ComplexTypeExp)exp;
    return new Type(){
      public int getDerivationMethod() { return cexp.derivationMethod; }
      public int getBlockValue() { return cexp.block; }
      public Type getBaseType() {
        if( cexp.complexBaseType!=null )
          return getType(cexp.complexBaseType);
        if( cexp.simpleBaseType!=null )
          return getType(cexp.simpleBaseType.getCreatedType());
        return getType(complexUrType);
      }
      public Object getCore() { return cexp; }
    };
  } else {
    return getType( ((SimpleTypeExp)exp).getDatatype() );
  }
}

origin: com.sun.xml.bind/jaxb1-impl

private Type getType( XMLSchemaTypeExp exp ) {
  if( exp instanceof ComplexTypeExp ) {
    final ComplexTypeExp cexp = (ComplexTypeExp)exp;
    return new Type(){
      public int getDerivationMethod() { return cexp.derivationMethod; }
      public int getBlockValue() { return cexp.block; }
      public Type getBaseType() {
        if( cexp.complexBaseType!=null )
          return getType(cexp.complexBaseType);
        if( cexp.simpleBaseType!=null )
          return getType(cexp.simpleBaseType.getCreatedType());
        return getType(complexUrType);
      }
      public Object getCore() { return cexp; }
    };
  } else {
    return getType( ((SimpleTypeExp)exp).getDatatype() );
  }
}

origin: kohsuke/msv

private Type getType( XMLSchemaTypeExp exp ) {
  if( exp instanceof ComplexTypeExp ) {
    final ComplexTypeExp cexp = (ComplexTypeExp)exp;
    return new Type(){
      public int getDerivationMethod() { return cexp.derivationMethod; }
      public int getBlockValue() { return cexp.block; }
      public Type getBaseType() {
        if( cexp.complexBaseType!=null )
          return getType(cexp.complexBaseType);
        if( cexp.simpleBaseType!=null )
          return getType(cexp.simpleBaseType.getCreatedType());
        return getType(complexUrType);
      }
      public Object getCore() { return cexp; }
    };
  } else {
    return getType( ((SimpleTypeExp)exp).getDatatype() );
  }
}

origin: msv/msv

final Type cType = getType(c.getTypeDefinition());
Type dType = getType(d.getTypeDefinition());
origin: com.sun.xml.bind/jaxb1-impl

final Type cType = getType(c.getTypeDefinition());
Type dType = getType(d.getTypeDefinition());
origin: com.sun.xml.bind/jaxb-extra-osgi

final Type cType = getType(c.getTypeDefinition());
Type dType = getType(d.getTypeDefinition());
origin: kohsuke/msv

final Type cType = getType(c.getTypeDefinition());
Type dType = getType(d.getTypeDefinition());
com.sun.msv.reader.xmlschemaXMLSchemaReadergetType

Popular methods of XMLSchemaReader

  • parse
    loads XML Schema
  • switchSource
  • <init>
  • getXmlSchemaForXmlSchema
  • _processOccurs
  • addBackPatchJob
  • createAttributeState
    creates a state object that parses "attribute","attributeGroup ref", and "anyAttribute".
  • createFacetState
  • createModelGroupState
    creates a state object that parses "all"/"group ref"/"choice" and "sequence".
  • createParserFactory
  • detectUndefinedOnes
  • getCurrentState
  • detectUndefinedOnes,
  • getCurrentState,
  • getDeclaredLocationOf,
  • getOrCreateSchema,
  • getResult,
  • isSchemaDefined,
  • isSchemaNamespace,
  • isSubstitutable,
  • markSchemaAsDefined

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • getContentResolver (Context)
  • addToBackStack (FragmentTransaction)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Github Copilot alternatives
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