Class XMLStreamReader

java.lang.Object
org.omegat.util.xml.XMLStreamReader
All Implemented Interfaces:
Closeable, AutoCloseable

@Deprecated(forRemoval=true, since="5.8") public class XMLStreamReader extends Object implements Closeable
Deprecated, for removal: This API element is subject to removal in a future version.
A reader for XML stream.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final XMLBlock
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final void
    breakOnWhitespace(boolean brk)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Closes the TMX file
    final List<XMLBlock>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    closeBlock(XMLBlock block, boolean includeTerminationBlock)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final void
    compressWhitespace(boolean tof)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final XMLBlock
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns next object in stream - either a tag or a string.
    final void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    makeValidXML(int cp)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Converts a single code point into valid XML.
    makeValidXML(String plaintext)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Converts a stream of plaintext into valid XML.
    final void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Provide an interface where stream can be opened elsewhere.
    void
    setStream(InputStream stream, String encoding)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Provide an interface where stream can be opened elsewhere.
    final void
    setStream(String name, String encoding)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait