GNU Classpath (0.95) | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.xml.stream.XMLInputFactory
public abstract class XMLInputFactory
extends Object
Name | Description | Type | Default | Required |
---|---|---|---|---|
javax.xml.stream.isValidating | Controls DTD validation | Boolean | Boolean.FALSE | no |
javax.xml.stream.isNamespaceAware | Controls namespace processing for XML 1.0 | Boolean | Boolean.TRUE | true is required, false is optional |
javax.xml.stream.isCoalescing | Controls coalescing (normalization of adjacent character data) | Boolean | Boolean.FALSE | yes |
javax.xml.stream.isReplacingEntityReferences | Controls replacement of entity references with their replacement text | Boolean | Boolean.TRUE | yes |
javax.xml.stream.isSupportingExternalEntities | Controls whether to resolve external entities | Boolean | not specified | yes |
javax.xml.stream.supportDTD | Controls whether to support DTDs | Boolean | Boolean.TRUE | yes |
javax.xml.stream.reporter | javax.xml.stream.XMLReporter | yes | ||
javax.xml.stream.resolver | javax.xml.stream.XMLResolver | yes | ||
javax.xml.stream.allocator | javax.xml.stream.util.XMLEventAllocator | yes |
Field Summary | |
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
Constructor Summary | |
Method Summary | |
abstract XMLEventReader |
|
abstract XMLStreamReader |
|
abstract XMLEventReader |
|
abstract XMLEventReader |
|
abstract XMLEventReader |
|
abstract XMLEventReader |
|
abstract XMLEventReader |
|
abstract XMLEventReader |
|
abstract XMLEventReader |
|
abstract XMLStreamReader |
|
abstract XMLStreamReader |
|
abstract XMLStreamReader |
|
abstract XMLStreamReader |
|
abstract XMLStreamReader |
|
abstract XMLStreamReader |
|
abstract XMLEventAllocator |
|
abstract Object |
|
abstract XMLReporter |
|
abstract XMLResolver |
|
abstract boolean |
|
static XMLInputFactory |
|
static XMLInputFactory |
|
abstract void |
|
abstract void |
|
abstract void |
|
abstract void |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public static final String ALLOCATOR
Property used to control the event allocator implementation.
- Field Value:
- "javax.xml.stream.allocator"
public static final String IS_COALESCING
Property used to control whether to coalesce adjacent text events.
- Field Value:
- "javax.xml.stream.isCoalescing"
public static final String IS_NAMESPACE_AWARE
Property used to control namespace support.
- Field Value:
- "javax.xml.stream.isNamespaceAware"
public static final String IS_REPLACING_ENTITY_REFERENCES
Property used to control whether to replace entity references with their replacement text.
- Field Value:
- "javax.xml.stream.isReplacingEntityReferences"
public static final String IS_SUPPORTING_EXTERNAL_ENTITIES
Property used to control whether to resolve external entities.
- Field Value:
- "javax.xml.stream.isSupportingExternalEntities"
public static final String IS_VALIDATING
Property used to control DTD validation.
- Field Value:
- "javax.xml.stream.isValidating"
public static final String REPORTER
Property used to control the error reporter implementation.
- Field Value:
- "javax.xml.stream.reporter"
public static final String RESOLVER
Property used to control the entity resolver implementation.
- Field Value:
- "javax.xml.stream.resolver"
public static final String SUPPORT_DTD
Property used to indicate whether to support DTDs.
- Field Value:
- "javax.xml.stream.supportDTD"
public abstract XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException
Create a new filtered reader.
public abstract XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException
Create a new filtered reader.
public abstract XMLEventReader createXMLEventReader(InputStream stream) throws XMLStreamException
Creates a new event reader.
public abstract XMLEventReader createXMLEventReader(InputStream stream, String encoding) throws XMLStreamException
Creates a new event reader.
public abstract XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException
Creates a new event reader.
public abstract XMLEventReader createXMLEventReader(String systemId, InputStream stream) throws XMLStreamException
Creates a new event reader.
public abstract XMLEventReader createXMLEventReader(String systemId, Reader reader) throws XMLStreamException
Creates a new event reader.
public abstract XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException
Creates a new event reader.
public abstract XMLEventReader createXMLEventReader(Source source) throws XMLStreamException
Creates a new event reader.
public abstract XMLStreamReader createXMLStreamReader(InputStream stream) throws XMLStreamException
Creates a new stream reader.
public abstract XMLStreamReader createXMLStreamReader(InputStream stream, String encoding) throws XMLStreamException
Creates a new stream reader.
public abstract XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException
Creates a new stream reader.
public abstract XMLStreamReader createXMLStreamReader(String systemId, InputStream stream) throws XMLStreamException
Creates a new stream reader.
public abstract XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws XMLStreamException
Creates a new stream reader.
public abstract XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException
Creates a new stream reader.
public abstract Object getProperty(String name) throws IllegalArgumentException
Returns the implementation-specific property of the given name.
- Throws:
IllegalArgumentException
- if the property is not supported
public abstract boolean isPropertySupported(String name)
Indicates whether the specified property is supported.
public static XMLInputFactory newInstance() throws FactoryConfigurationError
Creates a new factory instance.
- See Also:
newInstance(String,ClassLoader)
public static XMLInputFactory newInstance(String factoryId, ClassLoader classLoader) throws FactoryConfigurationError
Creates a new factory instance. The implementation class to load is the first found in the following locations:
- the
javax.xml.stream.XMLInputFactory
system property- the above named property value in the
$JAVA_HOME/lib/stax.properties
file- the class name specified in the
META-INF/services/javax.xml.stream.XMLInputFactory
system resource- the default factory class
public abstract void setEventAllocator(XMLEventAllocator allocator)
Sets the event allocator.
public abstract void setProperty(String name, Object value) throws IllegalArgumentException
Sets the implementation-specific property of the given name.
- Throws:
IllegalArgumentException
- if the property is not supported
GNU Classpath (0.95) |