commit
af93948e78
427 changed files with 284 additions and 5613 deletions
10
.gitignore
vendored
10
.gitignore
vendored
|
@ -1,3 +1,7 @@
|
|||
/.settings
|
||||
/.project
|
||||
/target
|
||||
target
|
||||
.checkstyle
|
||||
.project
|
||||
.settings
|
||||
.classpath
|
||||
.idea
|
||||
*.iml
|
||||
|
|
5
LICENSE
5
LICENSE
|
@ -1,3 +1,4 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
@ -178,7 +179,7 @@ Apache License
|
|||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
|
@ -186,7 +187,7 @@ Apache License
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
4
rome-certiorem-webapp/.gitignore
vendored
4
rome-certiorem-webapp/.gitignore
vendored
|
@ -1,4 +0,0 @@
|
|||
/.classpath
|
||||
/.project
|
||||
/.settings
|
||||
/target
|
|
@ -1,3 +0,0 @@
|
|||
# ROME Certiorem WebApp
|
||||
|
||||
An example webapp for rome-certiorem
|
4
rome-certiorem/.gitignore
vendored
4
rome-certiorem/.gitignore
vendored
|
@ -1,4 +0,0 @@
|
|||
/.classpath
|
||||
/.project
|
||||
/.settings
|
||||
/target
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
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.
|
|
@ -1,3 +0,0 @@
|
|||
# ROME Certiorem
|
||||
|
||||
[PubSubHubub](https://en.wikipedia.org/wiki/PubSubHubbub) implementation based on ROME
|
7
rome-fetcher/.gitignore
vendored
7
rome-fetcher/.gitignore
vendored
|
@ -1,7 +0,0 @@
|
|||
.classpath
|
||||
.project
|
||||
.settings
|
||||
target
|
||||
.idea
|
||||
*.iml
|
||||
atlassian-ide-plugin.xml
|
|
@ -1,14 +0,0 @@
|
|||
Copyright 2004 Sun Microsystems, Inc.
|
||||
|
||||
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.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# ROME Fetcher
|
||||
|
||||
is a caching feed fetcher that supports retrieval of feeds via HTTP conditional GET. Supports ETags, GZip compression, and RFC3229 Delta encoding.
|
5
rome-modules/.gitignore
vendored
5
rome-modules/.gitignore
vendored
|
@ -1,5 +0,0 @@
|
|||
/.classpath
|
||||
/.project
|
||||
/.settings
|
||||
/target
|
||||
/.checkstyle
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
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.
|
|
@ -1,3 +0,0 @@
|
|||
# ROME Modules
|
||||
|
||||
This module contains extensions that enable ROME to handle several feed extensions like MediaRSS, GeoRSS and others
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) The ROME Team ${year}
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
*/
|
|
@ -21,10 +21,6 @@ import com.rometools.modules.activitystreams.types.ActivityObject;
|
|||
import com.rometools.modules.activitystreams.types.Mood;
|
||||
import com.rometools.modules.activitystreams.types.Verb;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public interface ActivityStreamModule {
|
||||
|
||||
public Verb getVerb();
|
||||
|
|
|
@ -20,10 +20,6 @@ import com.rometools.modules.activitystreams.types.ActivityObject;
|
|||
import com.rometools.modules.activitystreams.types.Mood;
|
||||
import com.rometools.modules.activitystreams.types.Verb;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class ActivityStreamModuleImpl implements ActivityStreamModule {
|
||||
private ActivityObject object;
|
||||
private Verb verb;
|
||||
|
|
|
@ -21,15 +21,8 @@ import com.rometools.modules.georss.GeoRSSModule;
|
|||
import com.rometools.modules.portablecontacts.ContactModule;
|
||||
import com.rometools.rome.feed.atom.Entry;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public abstract class ActivityObject extends Entry implements HasLocation {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public abstract String getTypeIRI();
|
||||
|
|
|
@ -44,13 +44,8 @@ package com.rometools.modules.activitystreams.types;
|
|||
* content.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Article extends ActivityObject {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -40,13 +40,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* for the audio stream. Represented in JSON as a property called <tt>embedCode</tt> whose value is
|
||||
* a JSON string containing the fragment of HTML.</dd>
|
||||
* </dl>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Audio extends ActivityObject {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String embedCode;
|
||||
private String streamLink;
|
||||
|
|
|
@ -70,14 +70,9 @@ import com.rometools.rome.feed.atom.Link;
|
|||
* inappropriate size for their user interface.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Bookmark extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -49,14 +49,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* all HTML markup and consider the comment to be plain text.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Comment extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -43,14 +43,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* W3CDTF spec.] [TODO: Include prose describing how to represent just a date vs. a date and time.]</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Event extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -45,14 +45,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* property called <tt>mimeType</tt> whose value is a JSON string containing the MIME type.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class File extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -39,14 +39,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* Processors MAY ignore thumbnails that are of an inappropriate size for their user interface.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Folder extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -28,8 +28,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* </p>
|
||||
* <p>
|
||||
* A group has no additional components.
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Group {
|
||||
|
||||
|
|
|
@ -89,8 +89,6 @@ import com.rometools.modules.portablecontacts.ContactModule;
|
|||
* <hr class="insert" />
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public interface HasLocation {
|
||||
|
||||
|
|
|
@ -27,14 +27,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* <p>
|
||||
* A list has no additional components.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class List extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -35,8 +35,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* icon image. The mood icon image SHOULD be small and appropriate to be displayed alongside the
|
||||
* mood keyword at a normal text size.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Mood {
|
||||
private String iconUrl;
|
||||
|
|
|
@ -46,14 +46,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* all HTML markup and consider the comment to be plain text.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Note extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -44,14 +44,9 @@ import com.rometools.rome.feed.atom.Link;
|
|||
* Image component of the base Object Construct.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Person extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -43,14 +43,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* Media Link Construct].</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Photo extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -38,14 +38,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* MAY ignore thumbnails that are of an inappropriate size for their user interface.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class PhotoAlbum extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -42,14 +42,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* longitude in degrees.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Place extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,14 +30,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* <p>
|
||||
* A playlist has no additional components.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Playlist extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -43,14 +43,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* Construct].</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Product extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -52,14 +52,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* number giving the rating.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Review extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -42,14 +42,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* suitable for presentation at a small size.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Service extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -35,13 +35,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* <p>
|
||||
* A song has no additional components.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Song extends ActivityObject {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Audio audio;
|
||||
|
||||
|
|
|
@ -38,14 +38,9 @@ package com.rometools.modules.activitystreams.types;
|
|||
* <p>
|
||||
* A status has the same components as a note.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Status extends ActivityObject {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -16,10 +16,6 @@
|
|||
*/
|
||||
package com.rometools.modules.activitystreams.types;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public enum Verb {
|
||||
/**
|
||||
* The "mark as favorite" Verb indicates that the Subject marked the Object as an item of
|
||||
|
@ -186,9 +182,6 @@ public enum Verb {
|
|||
RSVP_NO("http://activitystrea.ms/schema/1.0/rsvp-no");
|
||||
private final String iri;
|
||||
|
||||
/**
|
||||
* @param iri
|
||||
*/
|
||||
Verb(final String iri) {
|
||||
this.iri = iri;
|
||||
}
|
||||
|
@ -198,11 +191,6 @@ public enum Verb {
|
|||
return iri;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param iri
|
||||
* @return
|
||||
*/
|
||||
public static Verb fromIRI(final String iri) {
|
||||
for (final Verb v : Verb.values()) {
|
||||
if (v.toString().equals(iri)) {
|
||||
|
|
|
@ -43,8 +43,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* a JSON string containing the fragment of HTML.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Video {
|
||||
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Article.java
|
||||
*
|
||||
* Created on November 16, 2005, 1:01 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -44,9 +20,6 @@ import java.util.Date;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Article or News
|
||||
* entry types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface Article extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,28 +1,5 @@
|
|||
/*
|
||||
* CourseInformation.java
|
||||
*
|
||||
* Created on November 16, 2005, 11:12 AM
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,9 +20,6 @@ import com.rometools.modules.base.types.DateTimeRange;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Class or Course
|
||||
* information entry types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface Course extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,27 +1,5 @@
|
|||
/*
|
||||
* CustomTag.java
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -40,9 +18,6 @@ package com.rometools.modules.base;
|
|||
|
||||
/**
|
||||
* This class represents a custom tag name and value.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface CustomTag {
|
||||
|
||||
|
|
|
@ -1,21 +1,17 @@
|
|||
/*
|
||||
* CustomTagImpl.java
|
||||
* Copyright 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Created on February 6, 2006, 12:06 AM
|
||||
* 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
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
* 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 com.rometools.modules.base;
|
||||
|
||||
|
@ -27,15 +23,10 @@ import com.rometools.modules.base.types.FloatUnit;
|
|||
import com.rometools.modules.base.types.IntUnit;
|
||||
import com.rometools.modules.base.types.ShortDate;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CustomTagImpl implements CustomTag {
|
||||
private Object value;
|
||||
private final String name;
|
||||
|
||||
/** Creates a new instance of CustomTagImpl */
|
||||
public CustomTagImpl(final String name, final String value) {
|
||||
if (name == null || value == null) {
|
||||
throw new NullPointerException("Name and Value cannont be null.");
|
||||
|
@ -145,62 +136,6 @@ public class CustomTagImpl implements CustomTag {
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and returns a copy of this object. The precise meaning of "copy" may depend on the
|
||||
* class of the object. The general intent is that, for any object <tt>x</tt>, the expression:
|
||||
* <blockquote>
|
||||
*
|
||||
* <pre>
|
||||
* x.clone() != x
|
||||
* </pre>
|
||||
*
|
||||
* </blockquote> will be true, and that the expression: <blockquote>
|
||||
*
|
||||
* <pre>
|
||||
* x.clone().getClass() == x.getClass()
|
||||
* </pre>
|
||||
*
|
||||
* </blockquote> will be <tt>true</tt>, but these are not absolute requirements. While it is
|
||||
* typically the case that: <blockquote>
|
||||
*
|
||||
* <pre>
|
||||
* x.clone().equals(x)
|
||||
* </pre>
|
||||
*
|
||||
* </blockquote> will be <tt>true</tt>, this is not an absolute requirement.
|
||||
* <p>
|
||||
* By convention, the returned object should be obtained by calling <tt>super.clone</tt>. If a
|
||||
* class and all of its superclasses (except <tt>Object</tt>) obey this convention, it will be
|
||||
* the case that <tt>x.clone().getClass() == x.getClass()</tt>.
|
||||
* <p>
|
||||
* By convention, the object returned by this method should be independent of this object (which
|
||||
* is being cloned). To achieve this independence, it may be necessary to modify one or more
|
||||
* fields of the object returned by <tt>super.clone</tt> before returning it. Typically, this
|
||||
* means copying any mutable objects that comprise the internal "deep structure" of the object
|
||||
* being cloned and replacing the references to these objects with references to the copies. If
|
||||
* a class contains only primitive fields or references to immutable objects, then it is usually
|
||||
* the case that no fields in the object returned by <tt>super.clone</tt> need to be modified.
|
||||
* <p>
|
||||
* The method <tt>clone</tt> for class <tt>Object</tt> performs a specific cloning operation.
|
||||
* First, if the class of this object does not implement the interface <tt>Cloneable</tt>, then
|
||||
* a <tt>CloneNotSupportedException</tt> is thrown. Note that all arrays are considered to
|
||||
* implement the interface <tt>Cloneable</tt>. Otherwise, this method creates a new instance of
|
||||
* the class of this object and initializes all its fields with exactly the contents of the
|
||||
* corresponding fields of this object, as if by assignment; the contents of the fields are not
|
||||
* themselves cloned. Thus, this method performs a "shallow copy" of this object, not a
|
||||
* "deep copy" operation.
|
||||
* <p>
|
||||
* The class <tt>Object</tt> does not itself implement the interface <tt>Cloneable</tt>, so
|
||||
* calling the <tt>clone</tt> method on an object whose class is <tt>Object</tt> will result in
|
||||
* throwing an exception at run time.
|
||||
*
|
||||
* @return a clone of this instance.
|
||||
* @exception CloneNotSupportedException if the object's class does not support the
|
||||
* <code>Cloneable</code> interface. Subclasses that override the
|
||||
* <code>clone</code> method can also throw this exception to indicate that an
|
||||
* instance cannot be cloned.
|
||||
* @see java.lang.Cloneable
|
||||
*/
|
||||
@Override
|
||||
public Object clone() throws CloneNotSupportedException {
|
||||
final CustomTagImpl cti = new CustomTagImpl(name, "");
|
||||
|
|
|
@ -1,27 +1,5 @@
|
|||
/*
|
||||
* CustomTags.java
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -42,10 +20,6 @@ import java.util.List;
|
|||
|
||||
import com.rometools.rome.feed.module.Module;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public interface CustomTags extends Module {
|
||||
|
||||
public static final String URI = "http://base.google.com/cns/1.0";
|
||||
|
|
|
@ -1,27 +1,5 @@
|
|||
/*
|
||||
* CustomTagsImpl.java
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,10 +21,6 @@ import java.util.List;
|
|||
|
||||
import com.rometools.rome.feed.CopyFrom;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CustomTagsImpl implements CustomTags {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Event.java
|
||||
*
|
||||
* Created on November 16, 2005, 11:38 AM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -48,9 +24,6 @@ import com.rometools.modules.base.types.ShippingType;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Event entry types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Event extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* GlobalInterface.java
|
||||
*
|
||||
* Created on November 16, 2005, 5:27 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -45,9 +21,6 @@ import java.util.Date;
|
|||
|
||||
/**
|
||||
* This is an interface representing the universals.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface GlobalInterface extends Serializable {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* GoogleBase.java
|
||||
*
|
||||
* Created on November 16, 2005, 4:37 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -49,9 +25,6 @@ import com.rometools.rome.feed.module.Module;
|
|||
* Article or Job datatype, you can cast it to the respective interface and see only methods related
|
||||
* to a particular entry type.
|
||||
* </p>
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface GoogleBase extends Module, Article, Course, Event, Job, Person, Product, Review, ScholarlyArticle, Service, Travel, Unknown, Vehicle, Wanted,
|
||||
Housing {
|
||||
|
|
|
@ -1,36 +1,17 @@
|
|||
/*
|
||||
* GoogleBaseImpl.java
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Created on November 16, 2005, 2:06 PM
|
||||
*
|
||||
* This library is provided under dual licenses. You may choose the terms of the Lesser General
|
||||
* Public License or the Apache License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify it under the terms of the
|
||||
* GNU Lesser General Public License as published by the Free Software Foundation; either version
|
||||
* 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along with this library;
|
||||
* if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
* 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
* 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 com.rometools.modules.base;
|
||||
|
||||
|
@ -58,14 +39,9 @@ import com.rometools.rome.feed.impl.EqualsBean;
|
|||
|
||||
/**
|
||||
* This is the implementation class for the GoogleBase module interface.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public class GoogleBaseImpl implements GoogleBase {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseImpl.class);
|
||||
|
@ -346,11 +322,6 @@ public class GoogleBaseImpl implements GoogleBase {
|
|||
/** string:subject */
|
||||
private String[] subjects;
|
||||
|
||||
/**
|
||||
* DOCUMENT ME!
|
||||
*
|
||||
* @param actors
|
||||
*/
|
||||
@Override
|
||||
public void setActors(final String[] actors) {
|
||||
this.actors = actors;
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Housing.java
|
||||
*
|
||||
* Created on November 16, 2005, 12:48 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -49,9 +25,6 @@ import com.rometools.modules.base.types.YearType;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Housing entry
|
||||
* types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Housing extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Job.java
|
||||
*
|
||||
* Created on November 16, 2005, 12:39 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -45,9 +21,6 @@ import com.rometools.modules.base.types.PriceTypeEnumeration;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Job listing entry
|
||||
* types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Job extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Person.java
|
||||
*
|
||||
* Created on November 16, 2005, 1:26 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -44,9 +20,6 @@ import com.rometools.modules.base.types.GenderEnumeration;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Person (personal
|
||||
* ad, resume, profile) entry types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface Person extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Product.java
|
||||
*
|
||||
* Created on November 16, 2005, 1:39 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -48,9 +24,6 @@ import com.rometools.modules.base.types.Size;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Products.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Product extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Review.java
|
||||
*
|
||||
* Created on November 16, 2005, 1:58 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -47,9 +23,6 @@ import com.rometools.modules.base.types.FloatUnit;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for critical reviews of
|
||||
* other things.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Review extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* ScholarlyArticle.java
|
||||
*
|
||||
* Created on November 16, 2005, 1:55 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -44,9 +20,6 @@ import java.util.Date;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Scholarly
|
||||
* publication, research studies and reference materials.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface ScholarlyArticle extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Service.java
|
||||
*
|
||||
* Created on November 16, 2005, 2:14 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -34,7 +10,7 @@
|
|||
* 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.
|
||||
* ee the License for the specific language governing permissions and
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.rometools.modules.base;
|
||||
|
@ -47,9 +23,6 @@ import com.rometools.modules.base.types.ShippingType;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for service offerings.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Service extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Travel.java
|
||||
*
|
||||
* Created on November 16, 2005, 3:15 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -48,9 +24,6 @@ import com.rometools.modules.base.types.ShippingType;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for travel items.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Travel extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Unknown.java
|
||||
*
|
||||
* Created on November 18, 2005, 1:34 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -46,8 +22,6 @@ import com.rometools.modules.base.types.IntUnit;
|
|||
/**
|
||||
* This interface contains all the other schema elements that the document doesn't associate with a
|
||||
* particular type.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public interface Unknown extends GlobalInterface {
|
||||
public void setLicenses(String[] licenses);
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* ValidationException.java
|
||||
*
|
||||
* Created on November 20, 2005, 3:14 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,18 +19,11 @@ package com.rometools.modules.base;
|
|||
/**
|
||||
* This is an unchecked exception that is thrown when a data value violates the Google Schema
|
||||
* limits.
|
||||
*
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ValidationException extends RuntimeException {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Creates a new instance of ValidationException */
|
||||
public ValidationException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Vehicle.java
|
||||
*
|
||||
* Created on November 16, 2005, 3:26 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -48,9 +24,6 @@ import com.rometools.modules.base.types.YearType;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for vehicles.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Vehicle extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Wanted.java
|
||||
*
|
||||
* Created on November 16, 2005, 3:32 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,9 +19,6 @@ import com.rometools.modules.base.types.FloatUnit;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for wanted ads.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Wanted extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -1,27 +1,5 @@
|
|||
/*
|
||||
* CustomTagGenerator.java
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -57,10 +35,6 @@ import com.rometools.modules.base.types.ShortDate;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleGenerator;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CustomTagGenerator implements ModuleGenerator {
|
||||
|
||||
static final HashSet<Namespace> NAMESPACES = new HashSet<Namespace>();
|
||||
|
@ -69,7 +43,6 @@ public class CustomTagGenerator implements ModuleGenerator {
|
|||
NAMESPACES.add(CustomTagParser.NS);
|
||||
}
|
||||
|
||||
/** Creates a new instance of CustomTagGenerator */
|
||||
public CustomTagGenerator() {
|
||||
}
|
||||
|
||||
|
|
|
@ -1,27 +1,5 @@
|
|||
/*
|
||||
* CustomTagParser.java
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2006 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -62,17 +40,12 @@ import com.rometools.modules.base.types.ShortDate;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleParser;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.4 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CustomTagParser implements ModuleParser {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(CustomTagParser.class);
|
||||
|
||||
static final Namespace NS = Namespace.getNamespace("g-custom", CustomTags.URI);
|
||||
|
||||
/** Creates a new instance of CustomTagParser */
|
||||
public CustomTagParser() {
|
||||
}
|
||||
|
||||
|
|
|
@ -1,36 +1,17 @@
|
|||
/*
|
||||
* GoogleBaseGenerator.java
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Created on November 17, 2005, 2:46 PM
|
||||
*
|
||||
* This library is provided under dual licenses. You may choose the terms of the Lesser General
|
||||
* Public License or the Apache License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify it under the terms of the
|
||||
* GNU Lesser General Public License as published by the Free Software Foundation; either version
|
||||
* 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along with this library;
|
||||
* if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
* 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
* 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 com.rometools.modules.base.io;
|
||||
|
||||
|
@ -62,17 +43,11 @@ import com.rometools.modules.base.types.YearType;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleGenerator;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class GoogleBaseGenerator implements ModuleGenerator {
|
||||
private static final Namespace NS = Namespace.getNamespace("g-core", GoogleBase.URI);
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseGenerator.class);
|
||||
|
||||
/** Creates a new instance of GoogleBaseGenerator */
|
||||
public GoogleBaseGenerator() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -1,36 +1,17 @@
|
|||
/*
|
||||
* GoogleBaseParser.java
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Created on November 17, 2005, 11:31 AM
|
||||
*
|
||||
* This library is provided under dual licenses. You may choose the terms of the Lesser General
|
||||
* Public License or the Apache License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify it under the terms of the
|
||||
* GNU Lesser General Public License as published by the Free Software Foundation; either version
|
||||
* 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along with this library;
|
||||
* if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
* 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
* 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 com.rometools.modules.base.io;
|
||||
|
||||
|
@ -68,12 +49,6 @@ import com.rometools.modules.base.types.YearType;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleParser;
|
||||
|
||||
/**
|
||||
* DOCUMENT ME!
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.3 $
|
||||
*/
|
||||
public class GoogleBaseParser implements ModuleParser {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseParser.class);
|
||||
|
@ -97,9 +72,6 @@ public class GoogleBaseParser implements ModuleParser {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of GoogleBaseParser
|
||||
*/
|
||||
public GoogleBaseParser() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -33,40 +33,5 @@
|
|||
are not affiliated with Google, Inc. and Google does not endorse, support,
|
||||
blah blah blah.
|
||||
</p>
|
||||
<pre>
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* CloneableType.java
|
||||
*
|
||||
* Created on November 18, 2005, 10:42 AM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -41,9 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
/**
|
||||
* This is just a holder interface for cloneable elements.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface CloneableType extends Cloneable {
|
||||
public Object clone();
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* CurrencyEnumeration.java
|
||||
*
|
||||
* Created on November 18, 2005, 11:33 AM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,9 +19,6 @@ import java.util.HashMap;
|
|||
|
||||
/**
|
||||
* An Enumeration of valid currency types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class CurrencyEnumeration {
|
||||
|
||||
|
@ -571,11 +544,6 @@ public class CurrencyEnumeration {
|
|||
// </xs:restriction>
|
||||
private final String value;
|
||||
|
||||
/**
|
||||
* Creates a new instance of CurrencyEnumeration
|
||||
*
|
||||
* @param value DOCUMENT ME!
|
||||
*/
|
||||
private CurrencyEnumeration(final String value) {
|
||||
this.value = value;
|
||||
lookup.put(value, this);
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* DateTimeRange.java
|
||||
*
|
||||
* Created on November 16, 2005, 11:14 AM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,9 +19,6 @@ import java.util.Date;
|
|||
|
||||
/**
|
||||
* Represents a time range.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public class DateTimeRange implements CloneableType {
|
||||
/**
|
||||
|
@ -58,8 +31,6 @@ public class DateTimeRange implements CloneableType {
|
|||
private Date start;
|
||||
|
||||
/**
|
||||
* Creates a new instance of DateTimeRange
|
||||
*
|
||||
* @param start Beginning of the timeframe.
|
||||
* @param end End of the Timeframe.
|
||||
*/
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* FloatUnit.java
|
||||
*
|
||||
* Created on November 16, 2005, 11:43 AM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,9 +19,6 @@ import com.rometools.modules.base.io.GoogleBaseParser;
|
|||
|
||||
/**
|
||||
* This class represents a quantity consisting of a float value and an optional units specification.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class FloatUnit implements CloneableType {
|
||||
/**
|
||||
|
@ -100,8 +73,6 @@ public class FloatUnit implements CloneableType {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of FloatUnit
|
||||
*
|
||||
* @param value float value
|
||||
* @param units Units represented, or null.
|
||||
*/
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* GenderEnumeration.java
|
||||
*
|
||||
* Created on November 16, 2005, 2:35 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -41,9 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
/**
|
||||
* Simple enumeration for Genders.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class GenderEnumeration implements CloneableType {
|
||||
/** Men */
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* IntUnit.java
|
||||
*
|
||||
* Created on November 16, 2005, 12:49 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -41,11 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
import com.rometools.modules.base.io.GoogleBaseParser;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class IntUnit implements CloneableType {
|
||||
private String units;
|
||||
private final int value;
|
||||
|
@ -79,7 +50,6 @@ public class IntUnit implements CloneableType {
|
|||
}
|
||||
}
|
||||
|
||||
/** Creates a new instance of IntUnit */
|
||||
public IntUnit(final int value, final String units) {
|
||||
this.value = value;
|
||||
this.units = units;
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* PaymentTypeEnumeration.java
|
||||
*
|
||||
* Created on November 16, 2005, 11:49 AM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -41,11 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
import java.util.HashMap;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class PaymentTypeEnumeration {
|
||||
|
||||
private static final HashMap<String, PaymentTypeEnumeration> lookup = new HashMap<String, PaymentTypeEnumeration>();
|
||||
|
@ -61,7 +32,6 @@ public class PaymentTypeEnumeration {
|
|||
public static final PaymentTypeEnumeration PAYPAL = new PaymentTypeEnumeration("Paypal");
|
||||
private final String value;
|
||||
|
||||
/** Creates a new instance of PaymentTypeEnumeration */
|
||||
private PaymentTypeEnumeration(final String value) {
|
||||
this.value = value;
|
||||
lookup.put(this.value.toUpperCase(), this);
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* PriceTypeEnumeration.java
|
||||
*
|
||||
* Created on November 16, 2005, 11:45 AM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -41,9 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
/**
|
||||
* Enumeration of values suitable for "price_type" or "salary_type".
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class PriceTypeEnumeration implements CloneableType {
|
||||
/**
|
||||
|
@ -60,8 +33,6 @@ public class PriceTypeEnumeration implements CloneableType {
|
|||
private final String value;
|
||||
|
||||
/**
|
||||
* Creates a new instance of PriceTypeEnumeration
|
||||
*
|
||||
* @param value Value to encapsulate
|
||||
*/
|
||||
private PriceTypeEnumeration(final String value) {
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* ShippingType.java
|
||||
*
|
||||
* Created on November 16, 2005, 12:05 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,9 +19,6 @@ import java.util.HashMap;
|
|||
|
||||
/**
|
||||
* This class represents a specific shipping option for an item.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class ShippingType implements CloneableType {
|
||||
/**
|
||||
|
@ -62,8 +35,6 @@ public class ShippingType implements CloneableType {
|
|||
private final String country;
|
||||
|
||||
/**
|
||||
* Creates a new instance of ShippingType
|
||||
*
|
||||
* @param price The price of the shipping option
|
||||
* @param service Shipping service used.
|
||||
* @param country Country shipped to.
|
||||
|
@ -159,8 +130,6 @@ public class ShippingType implements CloneableType {
|
|||
private final String value;
|
||||
|
||||
/**
|
||||
* Creates a new instance of ServiceEnumeration.
|
||||
*
|
||||
* @param value String value to encapsulate.
|
||||
*/
|
||||
private ServiceEnumeration(final String value) {
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* ShortDate.java
|
||||
*
|
||||
* Created on November 17, 2005, 1:04 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -46,17 +22,11 @@ import java.util.Date;
|
|||
* day for Google Base. It should be transparent to module developers.
|
||||
*
|
||||
* Move along. Nothing to see here.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class ShortDate extends Date implements CloneableType {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Creates a new instance of ShortDate */
|
||||
public ShortDate() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* Size.java
|
||||
*
|
||||
* Created on November 16, 2005, 1:51 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,9 +19,6 @@ import java.util.StringTokenizer;
|
|||
|
||||
/**
|
||||
* Represents the size on an item in 2 or 3 dimensions.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public class Size implements CloneableType {
|
||||
/**
|
||||
|
@ -77,8 +50,6 @@ public class Size implements CloneableType {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of Size
|
||||
*
|
||||
* @param length lenght value
|
||||
* @param width width value
|
||||
*/
|
||||
|
@ -88,8 +59,6 @@ public class Size implements CloneableType {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of Size.
|
||||
*
|
||||
* @param length Length value.
|
||||
* @param width Width value.
|
||||
* @param height Height value.
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* YearType.java
|
||||
*
|
||||
* Created on November 17, 2005, 11:42 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -44,9 +20,6 @@ import java.util.Date;
|
|||
|
||||
/**
|
||||
* This class represents a simple 4 digit year.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class YearType implements CloneableType {
|
||||
/**
|
||||
|
@ -64,8 +37,6 @@ public class YearType implements CloneableType {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of YearType
|
||||
*
|
||||
* @param date Date to get the year from.
|
||||
*/
|
||||
public YearType(final Date date) {
|
||||
|
|
|
@ -6,40 +6,5 @@
|
|||
</head>
|
||||
<body>
|
||||
This package contains complex and utility datatypes for use with Google Base.
|
||||
<pre>
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* CreativeCommons.java
|
||||
*
|
||||
* Created on November 20, 2005, 5:05 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -43,10 +19,6 @@ package com.rometools.modules.cc;
|
|||
import com.rometools.modules.cc.types.License;
|
||||
import com.rometools.rome.feed.module.Module;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public interface CreativeCommons extends Module {
|
||||
|
||||
public static final String URI = "rome:CreativeCommons";
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* AbstractCreativeCommons.java
|
||||
*
|
||||
* Created on November 20, 2005, 5:12 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -47,10 +23,6 @@ import com.rometools.rome.feed.CopyFrom;
|
|||
import com.rometools.rome.feed.impl.EqualsBean;
|
||||
import com.rometools.rome.feed.impl.ToStringBean;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CreativeCommonsImpl implements CreativeCommons {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* CCModuleGenerator.java
|
||||
*
|
||||
* Created on November 20, 2005, 5:23 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -54,10 +30,6 @@ import com.rometools.modules.cc.types.License;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleGenerator;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CCModuleGenerator implements ModuleGenerator {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(CCModuleGenerator.class);
|
||||
|
@ -73,9 +45,6 @@ public class CCModuleGenerator implements ModuleGenerator {
|
|||
NAMESPACES.add(RDF);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of CCModuleGenerator
|
||||
*/
|
||||
public CCModuleGenerator() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* CCModuleParser.java
|
||||
*
|
||||
* Created on November 20, 2005, 5:23 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -54,18 +30,11 @@ import com.rometools.modules.cc.types.License.Behaviour;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleParser;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.3 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ModuleParserRSS1 implements ModuleParser {
|
||||
|
||||
private static final Namespace NS = Namespace.getNamespace(CreativeCommonsImpl.RSS1_URI);
|
||||
static final Namespace RDF = Namespace.getNamespace(CreativeCommonsImpl.RDF_URI);
|
||||
|
||||
/**
|
||||
* Creates a new instance of ModuleParserRSS1
|
||||
*/
|
||||
public ModuleParserRSS1() {
|
||||
}
|
||||
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* ModuleParserRSS2.java
|
||||
*
|
||||
* Created on November 20, 2005, 6:15 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -53,16 +29,10 @@ import com.rometools.modules.cc.types.License;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleParser;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version $Revision: 1.3 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ModuleParserRSS2 implements ModuleParser {
|
||||
|
||||
private static final Namespace NS = Namespace.getNamespace(CreativeCommonsImpl.RSS2_URI);
|
||||
|
||||
/** Creates a new instance of ModuleParserRSS2 */
|
||||
public ModuleParserRSS2() {
|
||||
}
|
||||
|
||||
|
|
|
@ -41,40 +41,5 @@
|
|||
|
||||
</pre>
|
||||
</p>
|
||||
<pre>
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,36 +1,17 @@
|
|||
/*
|
||||
* LicenseEnumeration.java
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Created on November 20, 2005, 3:20 PM
|
||||
*
|
||||
* This library is provided under dual licenses. You may choose the terms of the Lesser General
|
||||
* Public License or the Apache License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify it under the terms of the
|
||||
* GNU Lesser General Public License as published by the Free Software Foundation; either version
|
||||
* 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along with this library;
|
||||
* if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
* 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
* 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 com.rometools.modules.cc.types;
|
||||
|
||||
|
@ -46,10 +27,6 @@ import org.slf4j.LoggerFactory;
|
|||
import com.rometools.rome.feed.impl.EqualsBean;
|
||||
import com.rometools.rome.feed.impl.ToStringBean;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class License {
|
||||
|
||||
private static final String CC_START = "http://creativecommons.org/licenses/";
|
||||
|
@ -82,9 +59,6 @@ public class License {
|
|||
private final Behaviour[] permits;
|
||||
private final Behaviour[] requires;
|
||||
|
||||
/**
|
||||
* Creates a new instance of License
|
||||
*/
|
||||
public License(final String uri, final Behaviour[] requires, final Behaviour[] permits) {
|
||||
this.requires = requires;
|
||||
this.permits = permits;
|
||||
|
@ -92,7 +66,6 @@ public class License {
|
|||
License.lookupLicense.put(uri, this);
|
||||
|
||||
if (this.uri.endsWith("/")) {
|
||||
// LOG.debug(uri.substring(0,this.uri.lastIndexOf("/")));
|
||||
License.lookupLicense.put(uri.substring(0, this.uri.lastIndexOf("/")), this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,40 +6,5 @@
|
|||
</head>
|
||||
<body>
|
||||
This package contains datatypes for use with the plug in.
|
||||
<pre>
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* ContentItem.java
|
||||
*
|
||||
* Created on January 12, 2005, 8:52 AM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -49,9 +25,6 @@ import org.jdom2.Namespace;
|
|||
/**
|
||||
* This class represents a content item per the "Original Syntax".
|
||||
* http://purl.org/rss/1.0/modules/content/
|
||||
*
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ContentItem implements Cloneable {
|
||||
|
||||
|
@ -64,7 +37,6 @@ public class ContentItem implements Cloneable {
|
|||
private List<Namespace> contentValueNamespace;
|
||||
private String contentResource;
|
||||
|
||||
/** Creates a new instance of ContentItem */
|
||||
public ContentItem() {
|
||||
}
|
||||
|
||||
|
@ -142,39 +114,31 @@ public class ContentItem implements Cloneable {
|
|||
}
|
||||
final ContentItem other = (ContentItem) obj;
|
||||
if (contentFormat == null ? other.contentFormat != null : !contentFormat.equals(other.contentFormat)) {
|
||||
// LOG.debug("format");
|
||||
return false;
|
||||
}
|
||||
if (contentEncoding == null ? other.contentEncoding != null : !contentEncoding.equals(other.contentEncoding)) {
|
||||
// LOG.debug("enc");
|
||||
return false;
|
||||
}
|
||||
final String thisCV = contentValue.replaceAll(" xmlns=\"http://www.w3.org/1999/xhtml\"", "").trim();
|
||||
;
|
||||
final String thatCV = other.contentValue.replaceAll(" xmlns=\"http://www.w3.org/1999/xhtml\"", "").trim();
|
||||
if (contentValue == null ? other.contentValue != null : !thisCV.equals(thatCV)) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (contentValueDOM != other.contentValueDOM && (contentValueDOM == null || !contentValueDOM.equals(other.contentValueDOM))) {
|
||||
// LOG.debug("vd");
|
||||
return false;
|
||||
}
|
||||
if (contentAbout == null ? other.contentAbout != null : !contentAbout.equals(other.contentAbout)) {
|
||||
// LOG.debug("abt");
|
||||
return false;
|
||||
}
|
||||
if (contentValueParseType == null ? other.contentValueParseType != null : !contentValueParseType.equals(other.contentValueParseType)) {
|
||||
// LOG.debug("pt");
|
||||
return false;
|
||||
}
|
||||
if (contentValueNamespace != other.contentValueNamespace
|
||||
&& (contentValueNamespace == null || !contentValueNamespace.equals(other.contentValueNamespace))) {
|
||||
// LOG.debug("ns");
|
||||
return false;
|
||||
}
|
||||
if (contentResource == null ? other.contentResource != null : !contentResource.equals(other.contentResource)) {
|
||||
// LOG.debug("res");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -1,30 +1,5 @@
|
|||
/*
|
||||
* ContentModule.java
|
||||
*
|
||||
* Created on January 11, 2005, 1:02 PM
|
||||
*
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -44,10 +19,6 @@ import java.util.List;
|
|||
|
||||
import com.rometools.rome.feed.module.Module;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public interface ContentModule extends Module {
|
||||
|
||||
public static final String URI = "http://purl.org/rss/1.0/modules/content/";
|
||||
|
|
|
@ -1,31 +1,5 @@
|
|||
/*
|
||||
* ContentModuleImpl.java
|
||||
*
|
||||
* Created on January 11, 2005, 1:07 PM
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -49,10 +23,6 @@ import java.util.List;
|
|||
import com.rometools.rome.feed.CopyFrom;
|
||||
import com.rometools.rome.feed.module.ModuleImpl;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.4 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ContentModuleImpl extends ModuleImpl implements ContentModule {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -1,29 +1,5 @@
|
|||
/*
|
||||
* ContentModuleGenerator.java
|
||||
*
|
||||
* Created on January 11, 2005, 1:41 PM
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -58,10 +34,6 @@ import org.slf4j.LoggerFactory;
|
|||
import com.rometools.modules.content.ContentItem;
|
||||
import com.rometools.modules.content.ContentModule;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.2 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ContentModuleGenerator implements com.rometools.rome.io.ModuleGenerator {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(ContentModuleGenerator.class);
|
||||
|
@ -76,7 +48,6 @@ public class ContentModuleGenerator implements com.rometools.rome.io.ModuleGener
|
|||
NAMESPACES = Collections.unmodifiableSet(nss);
|
||||
}
|
||||
|
||||
/** Creates a new instance of ContentModuleGenerator */
|
||||
public ContentModuleGenerator() {
|
||||
}
|
||||
|
||||
|
@ -124,7 +95,6 @@ public class ContentModuleGenerator implements com.rometools.rome.io.ModuleGener
|
|||
}
|
||||
|
||||
if (contentItem.getContentFormat() != null) {
|
||||
// LOG.debug( "Format");
|
||||
final Element format = new Element("format", CONTENT_NS);
|
||||
final Attribute formatResource = new Attribute("resource", contentItem.getContentFormat(), RDF_NS);
|
||||
format.setAttribute(formatResource);
|
||||
|
@ -133,7 +103,6 @@ public class ContentModuleGenerator implements com.rometools.rome.io.ModuleGener
|
|||
}
|
||||
|
||||
if (contentItem.getContentEncoding() != null) {
|
||||
// LOG.debug( "Encoding");
|
||||
final Element encoding = new Element("encoding", CONTENT_NS);
|
||||
final Attribute encodingResource = new Attribute("resource", contentItem.getContentEncoding(), RDF_NS);
|
||||
encoding.setAttribute(encodingResource);
|
||||
|
|
|
@ -1,31 +1,5 @@
|
|||
/*
|
||||
* ContentModuleParser.java
|
||||
*
|
||||
* Created on January 11, 2005, 1:23 PM
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Copyright 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -57,15 +31,10 @@ import com.rometools.modules.content.ContentItem;
|
|||
import com.rometools.modules.content.ContentModule;
|
||||
import com.rometools.modules.content.ContentModuleImpl;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.3 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ContentModuleParser implements com.rometools.rome.io.ModuleParser {
|
||||
private static final Namespace CONTENT_NS = Namespace.getNamespace("content", ContentModule.URI);
|
||||
private static final Namespace RDF_NS = Namespace.getNamespace("rdf", ContentModule.RDF_URI);
|
||||
|
||||
/** Creates a new instance of ContentModuleParser */
|
||||
public ContentModuleParser() {
|
||||
}
|
||||
|
||||
|
|
|
@ -23,44 +23,5 @@
|
|||
Iterator it = content.getEncodeds().iterator();
|
||||
System.out.println( it.next() );
|
||||
</pre>
|
||||
|
||||
|
||||
|
||||
|
||||
<pre>
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -23,10 +23,6 @@ import com.rometools.rome.feed.module.Module;
|
|||
|
||||
/**
|
||||
* Interface for the FeedBurner RSS extension.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Georg Schmidl <georg.schmidl@scandio.de>
|
||||
*
|
||||
*/
|
||||
public interface FeedBurner extends Module, Serializable, Cloneable {
|
||||
|
||||
|
|
|
@ -21,10 +21,6 @@ import com.rometools.rome.feed.CopyFrom;
|
|||
|
||||
/**
|
||||
* Implementation of the FeedBurner RSS extension.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Georg Schmidl <georg.schmidl@scandio.de>
|
||||
*
|
||||
*/
|
||||
public class FeedBurnerImpl implements FeedBurner {
|
||||
|
||||
|
|
|
@ -28,10 +28,6 @@ import com.rometools.rome.io.ModuleGenerator;
|
|||
|
||||
/**
|
||||
* ModuleGenerator implementation for the FeedBurner RSS extension.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Georg Schmidl <georg.schmidl@scandio.de>
|
||||
*
|
||||
*/
|
||||
public class FeedBurnerModuleGenerator implements ModuleGenerator {
|
||||
private static final Namespace NS = Namespace.getNamespace("feedburner", FeedBurner.URI);
|
||||
|
|
|
@ -28,10 +28,6 @@ import com.rometools.rome.io.ModuleParser;
|
|||
|
||||
/**
|
||||
* ModuleParser implementation for the FeedBurner RSS extension.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Georg Schmidl <georg.schmidl@scandio.de>
|
||||
*
|
||||
*/
|
||||
public class FeedBurnerModuleParser implements ModuleParser {
|
||||
private static final Namespace NS = Namespace.getNamespace(FeedBurner.URI);
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<pre>
|
||||
* This library is provided under dual licenses.
|
||||
* You may choose the terms of the Lesser General Public License or the Apache
|
||||
* License at your discretion.
|
||||
*
|
||||
* Copyright (C) 2011 The ROME Team
|
||||
*
|
||||
* 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.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue