Added SHARED_... classes for encoders (html, url, xml, json, ...)

This commit is contained in:
Jocelyn Fiat
2012-11-23 18:06:56 +01:00
parent f817008bcd
commit c654759d8e
5 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
note
description: "Objects to access the shared once BASE64 ..."
date: "$Date$"
revision: "$Revision$"
class
SHARED_BASE64
feature -- Encoder
base64_encoder: BASE64
-- Shared BASE64 encoder.
once
create Result
end
note
copyright: "2011-2012, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
5949 Hollister Ave., Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end

View File

@@ -0,0 +1,28 @@
note
description: "Objects to access the shared once HTML_ENCODER ..."
date: "$Date$"
revision: "$Revision$"
class
SHARED_HTML_ENCODER
feature -- Encoder
html_encoder: HTML_ENCODER
-- Shared HTML encoder.
once
create Result
end
note
copyright: "2011-2012, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
5949 Hollister Ave., Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end

View File

@@ -0,0 +1,28 @@
note
description: "Objects to access the shared once JSON_ENCODER ..."
date: "$Date$"
revision: "$Revision$"
class
SHARED_JSON_ENCODER
feature -- Encoder
json_encoder: JSON_ENCODER
-- Shared JSON encoder.
once
create Result
end
note
copyright: "2011-2012, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
5949 Hollister Ave., Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end

View File

@@ -0,0 +1,28 @@
note
description: "Objects to access the shared once URL_ENCODER ..."
date: "$Date$"
revision: "$Revision$"
class
SHARED_URL_ENCODER
feature -- Encoder
url_encoder: URL_ENCODER
-- Shared URL encoder.
once
create Result
end
note
copyright: "2011-2012, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
5949 Hollister Ave., Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end

View File

@@ -0,0 +1,28 @@
note
description: "Objects to access the shared once XML_ENCODER ..."
date: "$Date$"
revision: "$Revision$"
class
SHARED_XML_ENCODER
feature -- Encoder
xml_encoder: XML_ENCODER
-- Shared XML encoder.
once
create Result
end
note
copyright: "2011-2012, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
5949 Hollister Ave., Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end