< prev index next >

src/java.xml/share/classes/javax/xml/stream/XMLInputFactory.java

Print this page




  23  * questions.
  24  */
  25 
  26 package javax.xml.stream;
  27 
  28 import com.sun.xml.internal.stream.XMLInputFactoryImpl;
  29 import javax.xml.stream.util.XMLEventAllocator;
  30 import javax.xml.transform.Source;
  31 
  32 /**
  33  * Defines an abstract implementation of a factory for getting streams.
  34  *
  35  * The following table defines the standard properties of this specification.
  36  * Each property varies in the level of support required by each implementation.
  37  * The level of support required is described in the 'Required' column.
  38  *
  39  *   <table class="striped">
  40  *    <caption>Configuration Parameters</caption>
  41  *    <thead>
  42  *      <tr>
  43  *        <th>Property Name</th>
  44  *        <th>Behavior</th>
  45  *        <th>Return type</th>
  46  *        <th>Default Value</th>
  47  *        <th>Required</th>
  48  *      </tr>
  49  *    </thead>
  50  *    <tbody>
  51  * <tr><td>javax.xml.stream.isValidating</td><td>Turns on/off implementation specific DTD validation</td><td>Boolean</td><td>False</td><td>No</td></tr>
  52  * <tr><td>javax.xml.stream.isNamespaceAware</td><td>Turns on/off namespace processing for XML 1.0 support</td><td>Boolean</td><td>True</td><td>True (required) / False (optional)</td></tr>
  53  * <tr><td>javax.xml.stream.isCoalescing</td><td>Requires the processor to coalesce adjacent character data</td><td>Boolean</td><td>False</td><td>Yes</td></tr>
  54  * <tr><td>javax.xml.stream.isReplacingEntityReferences</td><td>replace internal entity references with their replacement text and report them as characters</td><td>Boolean</td><td>True</td><td>Yes</td></tr>
  55  *<tr><td>javax.xml.stream.isSupportingExternalEntities</td><td>Resolve external parsed entities</td><td>Boolean</td><td>Unspecified</td><td>Yes</td></tr>
  56  *<tr><td>javax.xml.stream.supportDTD</td><td>Use this property to request processors that do not support DTDs</td><td>Boolean</td><td>True</td><td>Yes</td></tr>
  57  *<tr><td>javax.xml.stream.reporter</td><td>sets/gets the impl of the XMLReporter </td><td>javax.xml.stream.XMLReporter</td><td>Null</td><td>Yes</td></tr>
  58  *<tr><td>javax.xml.stream.resolver</td><td>sets/gets the impl of the XMLResolver interface</td><td>javax.xml.stream.XMLResolver</td><td>Null</td><td>Yes</td></tr>
  59  *<tr><td>javax.xml.stream.allocator</td><td>sets/gets the impl of the XMLEventAllocator interface</td><td>javax.xml.stream.util.XMLEventAllocator</td><td>Null</td><td>Yes</td></tr>
  60  *    </tbody>
  61  *  </table>
  62  *
  63  *
  64  * @version 1.2
  65  * @author Copyright (c) 2009, 2015 by Oracle Corporation. All Rights Reserved.
  66  * @see XMLOutputFactory
  67  * @see XMLEventReader
  68  * @see XMLStreamReader
  69  * @see EventFilter
  70  * @see XMLReporter
  71  * @see XMLResolver
  72  * @see javax.xml.stream.util.XMLEventAllocator
  73  * @since 1.6
  74  */
  75 
  76 public abstract class XMLInputFactory {
  77   /**
  78    * The property used to turn on/off namespace support,
  79    * this is to support XML 1.0 documents,




  23  * questions.
  24  */
  25 
  26 package javax.xml.stream;
  27 
  28 import com.sun.xml.internal.stream.XMLInputFactoryImpl;
  29 import javax.xml.stream.util.XMLEventAllocator;
  30 import javax.xml.transform.Source;
  31 
  32 /**
  33  * Defines an abstract implementation of a factory for getting streams.
  34  *
  35  * The following table defines the standard properties of this specification.
  36  * Each property varies in the level of support required by each implementation.
  37  * The level of support required is described in the 'Required' column.
  38  *
  39  *   <table class="striped">
  40  *    <caption>Configuration Parameters</caption>
  41  *    <thead>
  42  *      <tr>
  43  *        <th scope="col">Property Name</th>
  44  *        <th scope="col">Behavior</th>
  45  *        <th scope="col">Return type</th>
  46  *        <th scope="col">Default Value</th>
  47  *        <th scope="col">Required</th>
  48  *      </tr>
  49  *    </thead>
  50  *    <tbody>
  51  * <tr><th scope="row">javax.xml.stream.isValidating</th><td>Turns on/off implementation specific DTD validation</td><td>Boolean</td><td>False</td><td>No</td></tr>
  52  * <tr><th scope="row">javax.xml.stream.isNamespaceAware</th><td>Turns on/off namespace processing for XML 1.0 support</td><td>Boolean</td><td>True</td><td>True (required) / False (optional)</td></tr>
  53  * <tr><th scope="row">javax.xml.stream.isCoalescing</th><td>Requires the processor to coalesce adjacent character data</td><td>Boolean</td><td>False</td><td>Yes</td></tr>
  54  * <tr><th scope="row">javax.xml.stream.isReplacingEntityReferences</th><td>replace internal entity references with their replacement text and report them as characters</td><td>Boolean</td><td>True</td><td>Yes</td></tr>
  55  *<tr><th scope="row">javax.xml.stream.isSupportingExternalEntities</th><td>Resolve external parsed entities</td><td>Boolean</td><td>Unspecified</td><td>Yes</td></tr>
  56  *<tr><th scope="row">javax.xml.stream.supportDTD</th><td>Use this property to request processors that do not support DTDs</td><td>Boolean</td><td>True</td><td>Yes</td></tr>
  57  *<tr><th scope="row">javax.xml.stream.reporter</th><td>sets/gets the impl of the XMLReporter </td><td>javax.xml.stream.XMLReporter</td><td>Null</td><td>Yes</td></tr>
  58  *<tr><th scope="row">javax.xml.stream.resolver</th><td>sets/gets the impl of the XMLResolver interface</td><td>javax.xml.stream.XMLResolver</td><td>Null</td><td>Yes</td></tr>
  59  *<tr><th scope="row">javax.xml.stream.allocator</th><td>sets/gets the impl of the XMLEventAllocator interface</td><td>javax.xml.stream.util.XMLEventAllocator</td><td>Null</td><td>Yes</td></tr>
  60  *    </tbody>
  61  *  </table>
  62  *
  63  *
  64  * @version 1.2
  65  * @author Copyright (c) 2009, 2015 by Oracle Corporation. All Rights Reserved.
  66  * @see XMLOutputFactory
  67  * @see XMLEventReader
  68  * @see XMLStreamReader
  69  * @see EventFilter
  70  * @see XMLReporter
  71  * @see XMLResolver
  72  * @see javax.xml.stream.util.XMLEventAllocator
  73  * @since 1.6
  74  */
  75 
  76 public abstract class XMLInputFactory {
  77   /**
  78    * The property used to turn on/off namespace support,
  79    * this is to support XML 1.0 documents,


< prev index next >