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

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

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

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

protected boolean isGrammarElement( StartTagInfo tag ) {
  
  if(!isSchemaNamespace(tag.namespaceURI))    return false;
  
  // annotation is ignored at this level.
  // by returning false, the entire subtree will be simply ignored.
  if(tag.localName.equals("annotation"))    return false;
  
  return true;
}
origin: com.sun.xml.bind/jaxb-extra-osgi

protected boolean isGrammarElement( StartTagInfo tag ) {
  
  if(!isSchemaNamespace(tag.namespaceURI))    return false;
  
  // annotation is ignored at this level.
  // by returning false, the entire subtree will be simply ignored.
  if(tag.localName.equals("annotation"))    return false;
  
  return true;
}
origin: kohsuke/msv

protected boolean isGrammarElement( StartTagInfo tag ) {
  
  if(!isSchemaNamespace(tag.namespaceURI))    return false;
  
  // annotation is ignored at this level.
  // by returning false, the entire subtree will be simply ignored.
  if(tag.localName.equals("annotation"))    return false;
  
  return true;
}
origin: msv/msv

protected boolean isGrammarElement( StartTagInfo tag ) {
  
  if(!isSchemaNamespace(tag.namespaceURI))    return false;
  
  // annotation is ignored at this level.
  // by returning false, the entire subtree will be simply ignored.
  if(tag.localName.equals("annotation"))    return false;
  
  return true;
}
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: 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: 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;
  }
});
origin: msv/msv

if( reader.isSchemaNamespace(r[0]) && r[1].equals("anyType") )
origin: com.sun.xml.bind/jaxb1-impl

if( reader.isSchemaNamespace(r[0]) && r[1].equals("anyType") )
origin: com.sun.xml.bind/jaxb-extra-osgi

if( reader.isSchemaNamespace(r[0]) && r[1].equals("anyType") )
origin: com.sun.xml.bind/jaxb1-impl

if(reader.isSchemaNamespace(baseTypeName[0])) {
  XSDatatype dt = reader.resolveBuiltinDataType(baseTypeName[1]);
  if(dt!=null)
origin: msv/msv

if(reader.isSchemaNamespace(baseTypeName[0])) {
  XSDatatype dt = reader.resolveBuiltinDataType(baseTypeName[1]);
  if(dt!=null)
origin: com.sun.xml.bind/jaxb1-impl

if( isSchemaNamespace(r[0]) ) {
origin: com.sun.xml.bind/jaxb-extra-osgi

if(reader.isSchemaNamespace(baseTypeName[0])) {
  XSDatatype dt = reader.resolveBuiltinDataType(baseTypeName[1]);
  if(dt!=null)
origin: kohsuke/msv

if(reader.isSchemaNamespace(baseTypeName[0])) {
  XSDatatype dt = reader.resolveBuiltinDataType(baseTypeName[1]);
  if(dt!=null)
origin: com.sun.xml.bind/jaxb-extra-osgi

if( isSchemaNamespace(r[0]) ) {
origin: kohsuke/msv

if( isSchemaNamespace(r[0]) ) {
origin: msv/msv

if(reader.isSchemaNamespace(baseTypeName[0])) {
  XSDatatype dt = reader.resolveBuiltinDataType(baseTypeName[1]);
  if(dt!=null) {
origin: msv/msv

if( isSchemaNamespace(r[0]) ) {
com.sun.msv.reader.xmlschemaXMLSchemaReaderisSchemaNamespace

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

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Top 12 Jupyter Notebook extensions
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