Tabnine Logo
XMLSchemaReader.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.sun.msv.reader.xmlschema.XMLSchemaReader
constructor

Best Java code snippets using com.sun.msv.reader.xmlschema.XMLSchemaReader.<init> (Showing top 18 results out of 315)

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

/** loads XML Schema */
public static XMLSchemaGrammar parse( InputSource grammar,
  SAXParserFactory factory, GrammarReaderController controller ) {
  
  XMLSchemaReader reader = new XMLSchemaReader(controller,factory);
  reader.parse(grammar);
  
  return reader.getResult();
}

origin: msv/msv

/** loads XML Schema */
public static XMLSchemaGrammar parse( InputSource grammar,
  SAXParserFactory factory, GrammarReaderController controller ) {
  
  XMLSchemaReader reader = new XMLSchemaReader(controller,factory);
  reader.parse(grammar);
  
  return reader.getResult();
}
origin: kohsuke/msv

/** loads XML Schema */
public static XMLSchemaGrammar parse( String grammarURL,
  SAXParserFactory factory, GrammarReaderController controller ) {
  
  XMLSchemaReader reader = new XMLSchemaReader(controller,factory);
  reader.parse(grammarURL);
  
  return reader.getResult();
}

origin: kohsuke/msv

/** loads XML Schema */
public static XMLSchemaGrammar parse( InputSource grammar,
  SAXParserFactory factory, GrammarReaderController controller ) {
  
  XMLSchemaReader reader = new XMLSchemaReader(controller,factory);
  reader.parse(grammar);
  
  return reader.getResult();
}

origin: msv/msv

/** loads XML Schema */
public static XMLSchemaGrammar parse( String grammarURL,
  SAXParserFactory factory, GrammarReaderController controller ) {
  
  XMLSchemaReader reader = new XMLSchemaReader(controller,factory);
  reader.parse(grammarURL);
  
  return reader.getResult();
}

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

/** loads XML Schema */
public static XMLSchemaGrammar parse( String grammarURL,
  SAXParserFactory factory, GrammarReaderController controller ) {
  
  XMLSchemaReader reader = new XMLSchemaReader(controller,factory);
  reader.parse(grammarURL);
  
  return reader.getResult();
}

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

/** loads XML Schema */
public static XMLSchemaGrammar parse( InputSource grammar,
  SAXParserFactory factory, GrammarReaderController controller ) {
  
  XMLSchemaReader reader = new XMLSchemaReader(controller,factory);
  reader.parse(grammar);
  
  return reader.getResult();
}
origin: com.sun.xml.bind/jaxb-extra-osgi

/** loads XML Schema */
public static XMLSchemaGrammar parse( String grammarURL,
  SAXParserFactory factory, GrammarReaderController controller ) {
  
  XMLSchemaReader reader = new XMLSchemaReader(controller,factory);
  reader.parse(grammarURL);
  
  return reader.getResult();
}

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

/**
 * Convenience method to create a reader and read a single scheme.
 * @param schema
 * @param controller
 * @return
 * @throws TransformerConfigurationException
 * @throws TransformerException
 */
public static XMLSchemaGrammar parse(Source schema, GrammarReaderController controller) throws TransformerConfigurationException, TransformerException {
  /* If the source is a SAXSource, we will still use a SAXParser,
   * so we still create the parser factory.
   */
  XMLSchemaReader reader = new XMLSchemaReader(controller);
  reader.parse(schema);
  return reader.getResult();
  
}
origin: kohsuke/msv

/**
 * Convenience method to create a reader and read a single scheme.
 * @param schema
 * @param controller
 * @return
 * @throws TransformerConfigurationException
 * @throws TransformerException
 */
public static XMLSchemaGrammar parse(Source schema, GrammarReaderController controller) throws TransformerConfigurationException, TransformerException {
  /* If the source is a SAXSource, we will still use a SAXParser,
   * so we still create the parser factory.
   */
  XMLSchemaReader reader = new XMLSchemaReader(controller);
  reader.parse(schema);
  return reader.getResult();
  
}
origin: com.sun.xml.bind/jaxb-extra-osgi

                                       wsdlSystemId, schemas);
XMLSchemaReader reader = new XMLSchemaReader(wsdlController);
reader.setAdditionalNamespaceMap(wsdlNamespaceMappings);
MultiSchemaReader multiSchemaReader = new MultiSchemaReader(reader);
origin: kohsuke/msv

                                       wsdlSystemId, schemas);
XMLSchemaReader reader = new XMLSchemaReader(wsdlController);
reader.setAdditionalNamespaceMap(wsdlNamespaceMappings);
MultiSchemaReader multiSchemaReader = new MultiSchemaReader(reader);
origin: kohsuke/msv

  /** tests the existence of all messages */
  public void testMessages() throws Exception {
    final XMLSchemaReader reader = new XMLSchemaReader(null);
    
    Checker checker = new Checker(){
      public void check( String propertyName ) {
        // if the specified property doesn't exist, this will throw an error
        System.out.println(
          reader.localizeMessage(propertyName,new Object[]{"@@@","@@@","@@@","@@@","@@@"}));
      }
    };
    
    String prefixes[] = new String[]{"ERR_","WRN_"};
    
    for( int i=0; i<prefixes.length; i++ ) {
      ResourceChecker.check( XMLSchemaReader.class, prefixes[i], checker );
      ResourceChecker.check( GrammarReader.class, prefixes[i], checker );
    }
  }
}
origin: kohsuke/msv

protected GrammarReader getReader() {
  return new XMLSchemaReader( createController(), factory, new ExpressionPool() );
}

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

  reader[0] = new XMLSchemaReader(
    getController(),
    new SAXParserFactoryImpl(getSAXParserFactory(),s),
  winner = setupPipeline(s);
} else {
  winner = reader[0] = new XMLSchemaReader(
    getController(),getSAXParserFactory(),getPool());
origin: msv/msv

  reader[0] = new XMLSchemaReader(
    getController(),
    new SAXParserFactoryImpl(getSAXParserFactory(),s),
  winner = setupPipeline(s);
} else {
  winner = reader[0] = new XMLSchemaReader(
    getController(),getSAXParserFactory(),getPool());
origin: com.sun.xml.bind/jaxb-extra-osgi

  reader[0] = new XMLSchemaReader(
    getController(),
    new SAXParserFactoryImpl(getSAXParserFactory(),s),
  winner = setupPipeline(s);
} else {
  winner = reader[0] = new XMLSchemaReader(
    getController(),getSAXParserFactory(),getPool());
origin: kohsuke/msv

  reader[0] = new XMLSchemaReader(
    getController(),
    new SAXParserFactoryImpl(getSAXParserFactory(),s),
  winner = setupPipeline(s);
} else {
  winner = reader[0] = new XMLSchemaReader(
    getController(),getSAXParserFactory(),getPool());
com.sun.msv.reader.xmlschemaXMLSchemaReader<init>

Javadoc

easy-to-use constructor.

Popular methods of XMLSchemaReader

  • parse
    loads XML Schema
  • switchSource
  • 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
  • getDeclaredLocationOf
  • getCurrentState,
  • getDeclaredLocationOf,
  • getOrCreateSchema,
  • getResult,
  • getType,
  • isSchemaDefined,
  • isSchemaNamespace,
  • isSubstitutable,
  • markSchemaAsDefined

Popular in Java

  • Updating database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • String (java.lang)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 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