diff options
author | (no author) <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2004-06-28 20:46:16 +0000 |
---|---|---|
committer | (no author) <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2004-06-28 20:46:16 +0000 |
commit | da5f70c20ef4bfea21c9d228e1d6891616887958 (patch) | |
tree | d05130206e29d13c6fd42003896afb2b31320999 /spss.test/src/testgenerator/Supplement.java | |
parent | 4dd1877ef3771633e096509dae7b8c99fee9ce4b (diff) | |
download | moa-id-spss-tags/MOA-ID1_2d05.tar.gz moa-id-spss-tags/MOA-ID1_2d05.tar.bz2 moa-id-spss-tags/MOA-ID1_2d05.zip |
This commit was manufactured by cvs2svn to create tag 'MOA-ID1_2d05'.tags/MOA-ID1_2d05
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/tags/MOA-ID1_2d05@145 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.test/src/testgenerator/Supplement.java')
-rw-r--r-- | spss.test/src/testgenerator/Supplement.java | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/spss.test/src/testgenerator/Supplement.java b/spss.test/src/testgenerator/Supplement.java deleted file mode 100644 index 41edd4118..000000000 --- a/spss.test/src/testgenerator/Supplement.java +++ /dev/null @@ -1,62 +0,0 @@ -package testgenerator; - -/** - * @author Stevie (Admin) - * - * To change this generated comment edit the template variable "typecomment": - * Window>Preferences>Java>Templates. - * To enable and disable the creation of type comments go to - * Window>Preferences>Java>Code Generation. - */ -public class Supplement { - - private String supplement; - /** - * Constructor for Supplement. - */ - public Supplement() { - supplement = " <SupplementProfile>\n"; - - } - - public void addMetaInfo(String mimeType, String description) - { - supplement += " <MetaInfo>\n" + - " <MimeType>" + mimeType + "</MimeType>"; - if (!(description==null)) - { - supplement+= " <Description>" + description + "</Description>"; - } - - supplement+= " </MetaInfo>"; - } - - public void addBase64Content(String fileName, String data) - { - supplement+= " <Content Reference=\"" + fileName + "\">\n"+ - " <Base64Content>"+data+"</Base64Content>\n" + - " </Content>\n"; - - } - - public void addXMLContent(String fileName, String data) - { - supplement+= " <Content Reference=\"" + fileName + "\">\n"+ - " <XMLContent xml:space=\"preserve\">"+data+"</XMLContent>\n" + - " </Content>\n"; - - } - - - public void closeSupplement() - { - supplement+= " </SupplementProfile>\n"; - } - - public String getSupplement() - { - return supplement; - } - - -} |