Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newSAXParser (0.06 sec)

  1. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

         */
        public static SAXParser newSAXParser() {
            return newSAXParser(newInstance());
        }
    
        /**
         * 指定の{@link SAXParserFactory}を使って{@link SAXParser}の新しいインスタンスを作成します。
         *
         * @param factory
         *            {@link SAXParserFactory}。{@literal null}であってはいけません
         * @return {@link SAXParser}の新しいインスタンス
         */
        public static SAXParser newSAXParser(final SAXParserFactory factory) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

            final SAXParserFactory spf = SAXParserFactoryUtil.newInstance();
            SAXParserFactoryUtil.setXIncludeAware(spf, true);
            spf.setNamespaceAware(true);
            final SAXParser parser = SAXParserFactoryUtil.newSAXParser(spf);
    
            final InputSource is = new InputSource(ResourceUtil.getResourceAsStream("org/codelibs/core/xml/include.xml"));
            is.setSystemId("include.xml");
            parser.parse(is, new DefaultHandler() {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                spfactory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
                // create a sax parser
                final SAXParser parser = spfactory.newSAXParser();
                try {
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top