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

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

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

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

  public void patch() {
    
    Expression e=null;
    
    if( reader.isSchemaNamespace(s[0]) )
      // datatypes of XML Schema part 2
      e = reader.resolveBuiltinSimpleType(s[1]);
    
    if(e==null) {
      XMLSchemaSchema g = reader.getOrCreateSchema(s[0]/*uri*/);
      e = g.simpleTypes.get(s[1]/*local name*/);
      if(e==null)    e = g.complexTypes.get(s[1]);
      if(e==null ) {
        // both simpleType and complexType are undefined.
        reader.reportError( XMLSchemaReader.ERR_UNDEFINED_ELEMENTTYPE, typeQName );
        e = Expression.nullSet;    // recover by dummy definition.
      }
    }
    ref.exp = e;
  }
});
origin: kohsuke/msv

  public void patch() {
    
    Expression e=null;
    
    if( reader.isSchemaNamespace(s[0]) )
      // datatypes of XML Schema part 2
      e = reader.resolveBuiltinSimpleType(s[1]);
    
    if(e==null) {
      XMLSchemaSchema g = reader.getOrCreateSchema(s[0]/*uri*/);
      e = g.simpleTypes.get(s[1]/*local name*/);
      if(e==null)    e = g.complexTypes.get(s[1]);
      if(e==null ) {
        // both simpleType and complexType are undefined.
        reader.reportError( XMLSchemaReader.ERR_UNDEFINED_ELEMENTTYPE, typeQName );
        e = Expression.nullSet;    // recover by dummy definition.
      }
    }
    ref.exp = e;
  }
});
origin: msv/msv

  public void patch() {
    
    Expression e=null;
    
    if( reader.isSchemaNamespace(s[0]) )
      // datatypes of XML Schema part 2
      e = reader.resolveBuiltinSimpleType(s[1]);
    
    if(e==null) {
      XMLSchemaSchema g = reader.getOrCreateSchema(s[0]/*uri*/);
      e = g.simpleTypes.get(s[1]/*local name*/);
      if(e==null)    e = g.complexTypes.get(s[1]);
      if(e==null ) {
        // both simpleType and complexType are undefined.
        reader.reportError( XMLSchemaReader.ERR_UNDEFINED_ELEMENTTYPE, typeQName );
        e = Expression.nullSet;    // recover by dummy definition.
      }
    }
    ref.exp = e;
  }
});
origin: com.sun.xml.bind/jaxb-extra-osgi

  public void patch() {
    
    Expression e=null;
    
    if( reader.isSchemaNamespace(s[0]) )
      // datatypes of XML Schema part 2
      e = reader.resolveBuiltinSimpleType(s[1]);
    
    if(e==null) {
      XMLSchemaSchema g = reader.getOrCreateSchema(s[0]/*uri*/);
      e = g.simpleTypes.get(s[1]/*local name*/);
      if(e==null)    e = g.complexTypes.get(s[1]);
      if(e==null ) {
        // both simpleType and complexType are undefined.
        reader.reportError( XMLSchemaReader.ERR_UNDEFINED_ELEMENTTYPE, typeQName );
        e = Expression.nullSet;    // recover by dummy definition.
      }
    }
    ref.exp = e;
  }
});
com.sun.msv.reader.xmlschemaXMLSchemaReaderresolveBuiltinSimpleType

Javadoc

Gets a built-in datatype as SimpleTypeExp.

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,
  • getType,
  • isSchemaDefined,
  • isSchemaNamespace,
  • isSubstitutable,
  • markSchemaAsDefined

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • BoxLayout (javax.swing)
  • JList (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • From CI to AI: The AI layer in your organization
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