|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.flowlibrary2.stream.StreamFactory | +--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText | +--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryXML
XMLのストリームファクトリ。
StreamFactory#getTypeがStreamType.XMLを返す場合このクラスにキャストできます。
Method Summary | |
StreamDataObject |
create()
空のストリームを作成します。 返り値のストリームにはストリームプロパティが適用されています。 ※空のXMLはXMLとしてValidではないのでこのメソッドは常にExceptionになります。 |
StreamDataObject |
create(byte[] b)
|
StreamDataObject |
create(byte[] b,
String enc)
|
StreamDataXML |
create(Document doc)
Documentからストリームを作成します。 返り値のストリームにはストリームプロパティが適用されています。 |
StreamDataObject |
create(File file)
|
StreamDataObject |
create(InputStream is)
|
StreamDataObject |
create(String str)
|
StreamDataObject |
createEmptyStream()
要素名が"root"という名前の、root要素のみが存在するXMLを作成して返します。 |
protected boolean |
doEquals(StreamFactory sf)
|
String |
getDoctypeSystemId()
SystemIdプロパティの値を取得します。 |
int |
getOutputForm()
OutputFormプロパティの値を返します。(StreamDataXML#FORM_XXXX) |
boolean |
isNormalize()
Normalizeプロパティの値を取得します。 |
boolean |
isOutputXMLDeclaration()
OutputXMLDeclarationプロパティの値を取得します。 |
boolean |
isUseEmptyTag()
EmptyTagプロパティの値を取得します。 |
boolean |
isValidating()
Validateプロパティの値を取得します。 |
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText |
getEncoding, getLineFeed, setLineFeed |
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactory |
addProperty, compare, equals, getFieldDefinition, getInstance, getType, setFieldDefinition, setNeedCheckpointParse, setProperties |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public StreamDataObject create(byte[] b) throws StreamException
StreamFactory
create
in class StreamFactoryText
public StreamDataObject create(byte[] b, String enc) throws StreamException
StreamFactoryText
create
in class StreamFactoryText
public StreamDataObject create() throws StreamException
create
in class StreamFactoryText
public StreamDataObject create(String str) throws StreamException
StreamFactoryText
create
in class StreamFactoryText
public StreamDataXML create(Document doc) throws StreamException
public StreamDataObject create(File file) throws StreamException
StreamFactory
create
in class StreamFactory
public StreamDataObject create(InputStream is) throws StreamException
StreamFactory
create
in class StreamFactory
public boolean isNormalize()
public boolean isValidating()
public boolean isOutputXMLDeclaration()
public String getDoctypeSystemId()
public int getOutputForm()
public boolean isUseEmptyTag()
public StreamDataObject createEmptyStream() throws StreamException
createEmptyStream
in class StreamFactoryText
protected boolean doEquals(StreamFactory sf)
doEquals
in class StreamFactoryText
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |