yawn.io.xml
Class XmlContext

java.lang.Object
  extended by yawn.io.xml.XmlContext
All Implemented Interfaces:
IContext

public class XmlContext
extends java.lang.Object
implements IContext

$Id: XmlContext.java,v 1.4 2005/04/07 17:28:28 supermarti Exp $

Version:
$Revision: 1.4 $
Author:
Luis Martí (luis dot marti at uc3m dot es)

Constructor Summary
XmlContext()
           
 
Method Summary
 java.lang.String getFileNameSuffix()
           
 java.io.File getRepositoryDir()
           
 java.lang.Class getRootSerializationClass()
           
 ISerializer getSerializer()
           
 boolean isAutoCreateReposotory()
           
 boolean isOverwriteExisting()
           
 void setAutoCreateReposotory(boolean autoCreateReposotory)
           
 void setFileNameSuffix(java.lang.String fileNameSuffix)
           
 void setOverwriteExisting(boolean overWriteExisting)
           
 void setRepositoryDir(java.io.File repositoryDir)
           
 void setRootSerializationClass(java.lang.Class rootSerializationClass)
           
 void setSerializer(ISerializer serializer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlContext

public XmlContext()
Method Detail

getFileNameSuffix

public java.lang.String getFileNameSuffix()
Returns:
Returns the fileNameSuffix.

getRepositoryDir

public java.io.File getRepositoryDir()
Returns:
Returns the repositoryDir.

getSerializer

public ISerializer getSerializer()
Returns:
Returns the serializer.

isAutoCreateReposotory

public boolean isAutoCreateReposotory()
Returns:
Returns the autoCreateReposotory.

isOverwriteExisting

public boolean isOverwriteExisting()
Returns:
Returns the overwriteExisting.

setAutoCreateReposotory

public void setAutoCreateReposotory(boolean autoCreateReposotory)
Parameters:
autoCreateReposotory - The autoCreateReposotory to set.

setFileNameSuffix

public void setFileNameSuffix(java.lang.String fileNameSuffix)
Parameters:
fileNameSuffix - The fileNameSuffix to set.

setOverwriteExisting

public void setOverwriteExisting(boolean overWriteExisting)
Parameters:
overwriteExisting - The overwriteExisting to set.

setRepositoryDir

public void setRepositoryDir(java.io.File repositoryDir)
Parameters:
repositoryDir - The repositoryDir to set.

setSerializer

public void setSerializer(ISerializer serializer)
Parameters:
serializer - The serializer to set.

getRootSerializationClass

public java.lang.Class getRootSerializationClass()
Returns:
Returns the rootSerializationClass.

setRootSerializationClass

public void setRootSerializationClass(java.lang.Class rootSerializationClass)
Parameters:
rootSerializationClass - The rootSerializationClass to set.


Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.