com.infoteria.asteria.flowlibrary2.stream
Class StreamDataXML

java.lang.Object
  |
  +--com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
        |
        +--com.infoteria.asteria.flowlibrary2.stream.StreamDataBinaryBase
              |
              +--com.infoteria.asteria.flowlibrary2.stream.StreamDataText
                    |
                    +--com.infoteria.asteria.flowlibrary2.stream.StreamDataXML
All Implemented Interfaces:
RecordSet, Serializable

public class StreamDataXML
extends StreamDataText

XMLストリーム

See Also:
Serialized Form

Field Summary
static int FORM_INDENT
           
static int FORM_NONE
           
static int FORM_NORMALIZE_WHITESPACE
           
static int FORM_NWS_AND_INDENT
           
 
Fields inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
PROPERTY_FILEPATH
 
Constructor Summary
StreamDataXML()
          空のストリームを作成します。
StreamDataXML(byte[] b)
          バイト列からストリームを作成します。
StreamDataXML(Document doc)
          Documentからストリームを作成します。
StreamDataXML(String str)
          文字列からストリームを作成します。
 
Method Summary
 byte[] byteValue()
           
 String getDoctypeSystemId()
          SystemIdを返します。
 Document getDocument()
          Documentを返します。
static EntityResolver getEntityResolver()
           
 int getOutputForm()
          OutputFormプロパティの値を返します。(FORM_XXXX)
 Record getRecord()
           
 int getRecordCount()
           
 boolean isIndent()
          XML出力時にインデントするかどうかを返します。
 boolean isNormalize()
          Normalizeプロパティの値を返します。
 boolean isNormalizeWhitespace()
          ストリーム作成時に空白のみのノードを削除するかどうかを返します。
 boolean isOutputXMLDeclaration()
          XML出力時にXML宣言を記述するかどうかを返します。
 boolean isUseEmptyTag()
          空要素の出力に空要素タグを使用するかどうかを返します。
 boolean isValidating()
          Validateプロパティの値を返します。
static void setEntityResolver(EntityResolver v)
           
protected  void setNormalizeWhitespace()
           
 String strValue()
           
 String strValueWithIndent()
           
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataText
detectLineFeed, detectLineFeed, getEncoding, getLineFeed
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
getFieldDefinition, getStreamPropertyNames, getStreamVariable, getStreamVariableCount, getStreamVariableNames, getType, putStreamVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORM_NONE

public static final int FORM_NONE

FORM_NORMALIZE_WHITESPACE

public static final int FORM_NORMALIZE_WHITESPACE

FORM_INDENT

public static final int FORM_INDENT

FORM_NWS_AND_INDENT

public static final int FORM_NWS_AND_INDENT
Constructor Detail

StreamDataXML

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

StreamDataXML

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

StreamDataXML

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

StreamDataXML

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

getEntityResolver

public static EntityResolver getEntityResolver()

setEntityResolver

public static void setEntityResolver(EntityResolver v)

byteValue

public byte[] byteValue()
                 throws StreamException
Description copied from class: StreamDataText
ストリームのバイト表現
Overrides:
byteValue in class StreamDataText
Following copied from class: com.infoteria.asteria.flowlibrary2.stream.StreamDataText
Throws:
StreamException - エンコーディングがサポートされていない場合

strValue

public String strValue()
                throws StreamException
Description copied from class: StreamDataText
ストリームの文字列表現
Overrides:
strValue in class StreamDataText
Following copied from class: com.infoteria.asteria.flowlibrary2.stream.StreamDataText
Throws:
StreamException - エンコーディングがサポートされていない場合

strValueWithIndent

public String strValueWithIndent()
                          throws StreamException

getDocument

public Document getDocument()
                     throws StreamException
Documentを返します。

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を取得します。
Overrides:
getRecord in class StreamDataText

getRecordCount

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