IT. Expert System.

Android Reference

SAXParserFactoryImpl


org.apache.harmony.xml.parsers

Class SAXParserFactoryImpl



  • public class SAXParserFactoryImpl
    extends SAXParserFactory
    Provides a straightforward SAXParserFactory implementation based on Expat. The class is used internally only, thus only notable members that are not already in the abstract superclass are documented.
    • Constructor Detail

      • SAXParserFactoryImpl

        public SAXParserFactoryImpl()
    • Method Detail

      • isNamespaceAware

        public boolean isNamespaceAware()
        Description copied from class: SAXParserFactory
        Indicates whether or not the factory is configured to produce parsers which are namespace aware.
        Overrides:
        isNamespaceAware in class SAXParserFactory
        Returns:
        true if the factory is configured to produce parsers which are namespace aware; false otherwise.
      • isValidating

        public boolean isValidating()
        Description copied from class: SAXParserFactory
        Indicates whether or not the factory is configured to produce parsers which validate the XML content during parse.
        Overrides:
        isValidating in class SAXParserFactory
        Returns:
        true if the factory is configured to produce parsers which validate the XML content during parse; false otherwise.
      • setNamespaceAware

        public void setNamespaceAware(boolean value)
        Description copied from class: SAXParserFactory
        Specifies that the parser produced by this code will provide support for XML namespaces. By default the value of this is set to false.
        Overrides:
        setNamespaceAware in class SAXParserFactory
        Parameters:
        value - true if the parser produced by this code will provide support for XML namespaces; false otherwise.
      • setValidating

        public void setValidating(boolean value)
        Description copied from class: SAXParserFactory
        Specifies that the parser produced by this code will validate documents as they are parsed. By default the value of this is set to false.

        Note that "the validation" here means a validating parser as defined in the XML recommendation. In other words, it essentially just controls the DTD validation. (except the legacy two properties defined in JAXP 1.2. See here for more details.)

        To use modern schema languages such as W3C XML Schema or RELAX NG instead of DTD, you can configure your parser to be a non-validating parser by leaving the SAXParserFactory.setValidating(boolean) method false, then use the SAXParserFactory.setSchema(Schema) method to associate a schema to a parser.

        Overrides:
        setValidating in class SAXParserFactory
        Parameters:
        value - true if the parser produced by this code will validate documents as they are parsed; false otherwise.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1828 / 248358473. Delta: 0.12794 с