Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setAddLocationInformation (0.86 sec)

  1. maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

            delegate =
                    contentTransformer != null ? new MavenStaxReader(contentTransformer::transform) : new MavenStaxReader();
            delegate.setAddLocationInformation(addLocationInformation);
        }
    
        /**
         * Returns the state of the "add default entities" flag.
         *
         * @return boolean
         */
        public boolean getAddDefaultEntities() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

     */
    @Deprecated
    public class SettingsXpp3Writer {
    
        private final SettingsStaxWriter delegate;
    
        public SettingsXpp3Writer() {
            delegate = new SettingsStaxWriter();
            delegate.setAddLocationInformation(false);
        }
        /**
         * Method setFileComment.
         *
         * @param fileComment a fileComment object.
         */
        public void setFileComment(String fileComment) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:44:51 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                InputSource source = getSource(options);
                boolean strict = isStrict(options);
                MavenStaxReader mr = new MavenStaxReader();
                mr.setAddLocationInformation(source != null);
                Model model = new Model(mr.read(parser, strict, source != null ? source.toApiSource() : null));
                return model;
            } catch (XMLStreamException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

        }
    
        String toXml(Model model) throws IOException, XMLStreamException {
            StringWriter sw = new StringWriter();
            MavenStaxWriter writer = new MavenStaxWriter();
            writer.setAddLocationInformation(false);
            writer.write(sw, model);
            return sw.toString();
        }
    
        Model fromXml(String xml) throws XMLStreamException {
            return new MavenStaxReader().read(new StringReader(xml));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

            int i = 0;
            for (Path pom : state.poms) {
                try (InputStream is = Files.newInputStream(pom)) {
                    MavenStaxReader reader = new MavenStaxReader();
                    reader.setAddLocationInformation(false);
                    reader.read(is, true, new InputSource("id", pom.toString()));
                    i++;
                } catch (XMLStreamException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java

        // -----------/
        // - Methods -/
        // -----------/
    
        public MavenXpp3Writer() {
            this(false);
        }
    
        protected MavenXpp3Writer(boolean addLocationInformation) {
            delegate.setAddLocationInformation(addLocationInformation);
        }
    
        /**
         * Method setFileComment.
         *
         * @param fileComment a fileComment object.
         */
        public void setFileComment(String fileComment) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/mdo/writer-stax.vm

        } //-- void setFileComment(String)
    
    #if ( $locationTracking )
        /**
         * Method setAddLocationInformation.
         */
        public void setAddLocationInformation(boolean addLocationInformation) {
            this.addLocationInformation = addLocationInformation;
        } //-- void setAddLocationInformation(String)
    
        /**
         * Method setStringFormatter.
         *
         * @param stringFormatter
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                writer.setNamespace(String.format(NAMESPACE_FORMAT, version));
                writer.setSchemaLocation(String.format(SCHEMA_LOCATION_FORMAT, version));
                writer.setAddLocationInformation(false);
                writer.write(w, model);
            }
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/mdo/reader-stax.vm

         *
         * @param addLocationInformation a addLocationInformation object.
         */
        public void setAddLocationInformation(boolean addLocationInformation) {
            this.addLocationInformation = addLocationInformation;
        } //-- void setAddLocationInformation(boolean)
    #end
    
        public ${root.name} read(Reader reader) throws XMLStreamException {
    #if ( $locationTracking )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 38.1K bytes
    - Viewed (0)
Back to top