svnno****@sourc*****
svnno****@sourc*****
2009年 5月 28日 (木) 22:09:21 JST
Revision: 3419 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3419 Author: tonouchi Date: 2009-05-28 22:09:21 +0900 (Thu, 28 May 2009) Log Message: ----------- 新規作成 Added Paths: ----------- artemis/branches/tonocchi-CORE129/jiemamy-core/src/main/java/org/jiemamy/internal/serializer/JiemamyStaxSerializer.java -------------- next part -------------- Added: artemis/branches/tonocchi-CORE129/jiemamy-core/src/main/java/org/jiemamy/internal/serializer/JiemamyStaxSerializer.java =================================================================== --- artemis/branches/tonocchi-CORE129/jiemamy-core/src/main/java/org/jiemamy/internal/serializer/JiemamyStaxSerializer.java (rev 0) +++ artemis/branches/tonocchi-CORE129/jiemamy-core/src/main/java/org/jiemamy/internal/serializer/JiemamyStaxSerializer.java 2009-05-28 13:09:21 UTC (rev 3419) @@ -0,0 +1,64 @@ +/* + * Copyright 2007-2009 Jiemamy Project and the Others. + * Created on 2009/05/24 + * + * This file is part of Jiemamy. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific language + * governing permissions and limitations under the License. + */ +package org.jiemamy.internal.serializer; + +import java.io.InputStream; +import java.io.OutputStream; + +import org.jiemamy.Jiemamy; +import org.jiemamy.model.RootModel; +import org.jiemamy.serializer.JiemamySerializer; +import org.jiemamy.serializer.SerializationException; + +/** + * StAXによるSerializer実装 + * + * @author tonouchi + */ +public class JiemamyStaxSerializer implements JiemamySerializer { + + public JiemamyStaxSerializer(Jiemamy jiemamy) { + + } + + /** + * デシリアライズを行います。 + * + * @in InputStream デシリアライズ対象ドキュメントへのインプットストリーム + * + * @throws SerializationException デシリアライズ失敗 + */ + public RootModel deserialize(InputStream in) throws SerializationException { + // TODO Auto-generated method stub + return null; + } + + /** + * シリアライズを行います。 + * + * @rootModel RootModel シリアライズするオブジェクト + * @ou OutputStream 出力するドキュメントへの出力ストリーム + * @throws SerializationException シリアライズ失敗 + */ + public void serialize(RootModel rootModel, OutputStream out) throws SerializationException { + // TODO Auto-generated method stub + + } + +} Property changes on: artemis/branches/tonocchi-CORE129/jiemamy-core/src/main/java/org/jiemamy/internal/serializer/JiemamyStaxSerializer.java ___________________________________________________________________ Added: svn:mime-type + text/plain