Class StreamDataXML

All Implemented Interfaces:
RecordSet, Serializable

public class StreamDataXML extends StreamDataText
XMLストリーム
See Also:
  • Field Details

  • Constructor Details

    • StreamDataXML

      public StreamDataXML()
      空のストリームを作成します。
    • StreamDataXML

      public StreamDataXML(String str)
      文字列からストリームを作成します。
    • StreamDataXML

      public StreamDataXML(byte[] b)
      バイト列からストリームを作成します。
    • StreamDataXML

      public StreamDataXML(Document doc)
      Documentからストリームを作成します。
  • Method Details

    • getEntityResolver

      public static EntityResolver getEntityResolver()
    • setEntityResolver

      public static void setEntityResolver(EntityResolver v)
    • strValueWithIndent

      public String strValueWithIndent() throws StreamException
      Throws:
      StreamException
    • getDocument

      public Document getDocument() throws StreamException
      Documentを返します。
      Throws:
      StreamException
    • getDoctypeSystemId

      public String getDoctypeSystemId()
      SystemIdを返します。
    • isNormalize

      public boolean isNormalize()
      Normalizeプロパティの値を返します。
    • isValidating

      public boolean isValidating()
      Validateプロパティの値を返します。
    • getOutputForm

      public int getOutputForm()
      OutputFormプロパティの値を返します。(FORM_XXXX)
    • isOutputXMLDeclaration

      public boolean isOutputXMLDeclaration()
      XML出力時にXML宣言を記述するかどうかを返します。
    • isUseEmptyTag

      public boolean isUseEmptyTag()
      空要素の出力に空要素タグを使用するかどうかを返します。
    • isIndent

      public boolean isIndent()
      XML出力時にインデントするかどうかを返します。
    • isNormalizeWhitespace

      public boolean isNormalizeWhitespace()
      ストリーム作成時に空白のみのノードを削除するかどうかを返します。
    • setNormalizeWhitespace

      protected void setNormalizeWhitespace()
    • getRecord

      public Record getRecord() throws StreamException
      Description copied from interface: RecordSet
      Recordを取得します。
      Specified by:
      getRecord in interface RecordSet
      Overrides:
      getRecord in class StreamDataText
      Throws:
      StreamException
    • getRecordCount

      public int getRecordCount()
      Description copied from interface: RecordSet
      Record数を取得します。
      Specified by:
      getRecordCount in interface RecordSet
      Overrides:
      getRecordCount in class StreamDataBinaryBase