
nuggets.delegate.DString Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-nuggets Show documentation
Show all versions of jadex-nuggets Show documentation
The Jadex nuggets is a fast Java bean to
XML and back converter.
The newest version!
/*
* DString.java
* Copyright (c) 2005 by University of Hamburg. All Rights Reserved.
* Departament of Informatics.
* Distributed Systems and Information Systems.
*
* Created by walczak on Jan 17, 2006.
* Last revision $Revision: 4064 $ by:
* $Author: walczak $ on $Date: 2006-02-23 18:48:47 +0100 (Do, 23 Feb 2006) $.
*/
package nuggets.delegate;
import nuggets.IAssembler;
import nuggets.ICruncher;
/** DString
* @author walczak
* @since Jan 17, 2006
*/
public class DString extends ADelegate
{
/**
* @param clazz
* @param asm
* @return a new instance of this array
* @throws Exception
*/
public Object getInstance(Class clazz,IAssembler asm) throws Exception
{
return asm.getText();
}
/**
* @param o
* @param mill
* @see nuggets.delegate.ASimpleDelegate#persist(java.lang.Object, nuggets.ICruncher)
*/
public void persist(Object o, ICruncher mill, ClassLoader classloader)
{
mill.startConcept(o);
mill.setText((String)o);
}
/**
* @return true
* @see nuggets.delegate.ADelegate#isSimple()
*/
public boolean isSimple()
{
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy