Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createXMLStreamReader (0.15 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

            try {
                XMLInputFactory factory = XMLInputFactory.newFactory();
                factory.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, false);
                XMLStreamReader parser = factory.createXMLStreamReader(input);
    
                InputSource source = getSource(options);
                boolean strict = isStrict(options);
                MavenStaxReader mr = new MavenStaxReader();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
                XMLStreamReader parser = XMLInputFactory.newFactory().createXMLStreamReader(is);
                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
                        && parser.getLocalName().equals("project")) {
                    for (int i = 0; i < parser.getAttributeCount(); i++) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top