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

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

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

origin: msv/msv

protected Expression initialExpression() {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  if( startTag.containsAttribute("ref") ) {
    // this this tag has @ref.
    Expression exp = reader.resolveQNameRef(
      startTag, "ref",
      new XMLSchemaReader.RefResolver() {
        public ReferenceContainer get( XMLSchemaSchema g ) {
          return g.groupDecls;
        }
      } );
    if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
    return exp;
  }
  
  return null;    // use null to indicate that there is no child expression.
}
origin: msv/msv

protected Expression initialExpression() {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  String refQName = startTag.getAttribute("ref");
  if( refQName==null )
    // child expressions are expected. (although it's optional)
    return Expression.epsilon;
  Expression exp = reader.resolveQNameRef(
    startTag, "ref",
    new XMLSchemaReader.RefResolver() {
      public ReferenceContainer get( XMLSchemaSchema g ) {
        return g.attributeGroups;
      }
    } );
  if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
  return exp;
}
origin: com.sun.xml.bind/jaxb-extra-osgi

protected Expression initialExpression() {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  String refQName = startTag.getAttribute("ref");
  if( refQName==null )
    // child expressions are expected. (although it's optional)
    return Expression.epsilon;
  Expression exp = reader.resolveQNameRef(
    startTag, "ref",
    new XMLSchemaReader.RefResolver() {
      public ReferenceContainer get( XMLSchemaSchema g ) {
        return g.attributeGroups;
      }
    } );
  if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
  return exp;
}
origin: kohsuke/msv

protected Expression initialExpression() {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  String refQName = startTag.getAttribute("ref");
  if( refQName==null )
    // child expressions are expected. (although it's optional)
    return Expression.epsilon;
  Expression exp = reader.resolveQNameRef(
    startTag, "ref",
    new XMLSchemaReader.RefResolver() {
      public ReferenceContainer get( XMLSchemaSchema g ) {
        return g.attributeGroups;
      }
    } );
  if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
  return exp;
}
origin: com.sun.xml.bind/jaxb1-impl

protected Expression initialExpression() {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  String refQName = startTag.getAttribute("ref");
  if( refQName==null )
    // child expressions are expected. (although it's optional)
    return Expression.epsilon;
  Expression exp = reader.resolveQNameRef(
    startTag, "ref",
    new XMLSchemaReader.RefResolver() {
      public ReferenceContainer get( XMLSchemaSchema g ) {
        return g.attributeGroups;
      }
    } );
  if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
  return exp;
}
origin: com.sun.xml.bind/jaxb-extra-osgi

protected Expression initialExpression() {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  if( startTag.containsAttribute("ref") ) {
    // this this tag has @ref.
    Expression exp = reader.resolveQNameRef(
      startTag, "ref",
      new XMLSchemaReader.RefResolver() {
        public ReferenceContainer get( XMLSchemaSchema g ) {
          return g.groupDecls;
        }
      } );
    if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
    return exp;
  }
  
  return null;    // use null to indicate that there is no child expression.
}
origin: com.sun.xml.bind/jaxb1-impl

protected Expression initialExpression() {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  if( startTag.containsAttribute("ref") ) {
    // this this tag has @ref.
    Expression exp = reader.resolveQNameRef(
      startTag, "ref",
      new XMLSchemaReader.RefResolver() {
        public ReferenceContainer get( XMLSchemaSchema g ) {
          return g.groupDecls;
        }
      } );
    if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
    return exp;
  }
  
  return null;    // use null to indicate that there is no child expression.
}
origin: msv/msv

  protected Expression makeExpression() {
    final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
    
    // TODO: what attributes can be used with @ref?
    
    if( !startTag.containsAttribute("ref") )
      // existance of @ref must be checked before instanciation of this object.
      throw new Error();
    
    // this this tag has @ref.
    Expression exp = reader.resolveQNameRef(
      startTag, "ref",
      new XMLSchemaReader.RefResolver() {
        public ReferenceContainer get( XMLSchemaSchema g ) {
          return g.elementDecls;
        }
      } );
    if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
    
    // minOccurs/maxOccurs is processed through interception
    return exp;
  }
}
origin: com.sun.xml.bind/jaxb1-impl

  protected Expression makeExpression() {
    final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
    
    // TODO: what attributes can be used with @ref?
    
    if( !startTag.containsAttribute("ref") )
      // existance of @ref must be checked before instanciation of this object.
      throw new Error();
    
    // this this tag has @ref.
    Expression exp = reader.resolveQNameRef(
      startTag, "ref",
      new XMLSchemaReader.RefResolver() {
        public ReferenceContainer get( XMLSchemaSchema g ) {
          return g.elementDecls;
        }
      } );
    if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
    
    // minOccurs/maxOccurs is processed through interception
    return exp;
  }
}
origin: kohsuke/msv

protected Expression initialExpression() {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  if( startTag.containsAttribute("ref") ) {
    // this this tag has @ref.
    Expression exp = reader.resolveQNameRef(
      startTag, "ref",
      new XMLSchemaReader.RefResolver() {
        public ReferenceContainer get( XMLSchemaSchema g ) {
          return g.groupDecls;
        }
      } );
    if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
    return exp;
  }
  
  return null;    // use null to indicate that there is no child expression.
}
origin: kohsuke/msv

  protected Expression makeExpression() {
    final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
    
    // TODO: what attributes can be used with @ref?
    
    if( !startTag.containsAttribute("ref") )
      // existance of @ref must be checked before instanciation of this object.
      throw new Error();
    
    // this this tag has @ref.
    Expression exp = reader.resolveQNameRef(
      startTag, "ref",
      new XMLSchemaReader.RefResolver() {
        public ReferenceContainer get( XMLSchemaSchema g ) {
          return g.elementDecls;
        }
      } );
    if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
    
    // minOccurs/maxOccurs is processed through interception
    return exp;
  }
}
origin: com.sun.xml.bind/jaxb-extra-osgi

  protected Expression makeExpression() {
    final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
    
    // TODO: what attributes can be used with @ref?
    
    if( !startTag.containsAttribute("ref") )
      // existance of @ref must be checked before instanciation of this object.
      throw new Error();
    
    // this this tag has @ref.
    Expression exp = reader.resolveQNameRef(
      startTag, "ref",
      new XMLSchemaReader.RefResolver() {
        public ReferenceContainer get( XMLSchemaSchema g ) {
          return g.elementDecls;
        }
      } );
    if( exp==null )        return Expression.epsilon;    // couldn't resolve QName.
    
    // minOccurs/maxOccurs is processed through interception
    return exp;
  }
}
origin: com.sun.xml.bind/jaxb-extra-osgi

Expression exp = reader.resolveQNameRef(
  startTag, "ref",
  new XMLSchemaReader.RefResolver() {
origin: kohsuke/msv

Expression exp = reader.resolveQNameRef(
  startTag, "ref",
  new XMLSchemaReader.RefResolver() {
origin: msv/msv

Expression exp = reader.resolveQNameRef(
  startTag, "ref",
  new XMLSchemaReader.RefResolver() {
origin: com.sun.xml.bind/jaxb1-impl

Expression exp = reader.resolveQNameRef(
  startTag, "ref",
  new XMLSchemaReader.RefResolver() {
com.sun.msv.reader.xmlschemaXMLSchemaReaderresolveQNameRef

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

  • Creating JSON documents from java classes using gson
  • getSharedPreferences (Context)
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for Android Studio
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