1. Project Clover database Sat Feb 2 2019 06:45:20 CET
  2. Package com.xpn.xwiki.test.component

File XWikiDocumentFilterUtilsComponentList.java

 

Code metrics

0
0
0
1
167
129
0
-
-
0
-

Classes

Class Line # Actions
XWikiDocumentFilterUtilsComponentList 165 0 - 0 0
-1.0 -
 

Contributing tests

No tests hitting this source file were found.

Source view

1    /*
2    * See the NOTICE file distributed with this work for additional
3    * information regarding copyright ownership.
4    *
5    * This is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU Lesser General Public License as
7    * published by the Free Software Foundation; either version 2.1 of
8    * the License, or (at your option) any later version.
9    *
10    * This software is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13    * Lesser General Public License for more details.
14    *
15    * You should have received a copy of the GNU Lesser General Public
16    * License along with this software; if not, write to the Free
17    * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18    * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19    */
20    package com.xpn.xwiki.test.component;
21   
22    import java.lang.annotation.Documented;
23    import java.lang.annotation.Inherited;
24    import java.lang.annotation.Retention;
25    import java.lang.annotation.Target;
26   
27    import org.xwiki.filter.internal.DefaultFilterDescriptorManager;
28    import org.xwiki.filter.internal.converter.FilterEventParametersConverter;
29    import org.xwiki.filter.xar.internal.input.AttachmentReader;
30    import org.xwiki.filter.xar.internal.input.ClassPropertyReader;
31    import org.xwiki.filter.xar.internal.input.ClassReader;
32    import org.xwiki.filter.xar.internal.input.DocumentLocaleReader;
33    import org.xwiki.filter.xar.internal.input.WikiObjectPropertyReader;
34    import org.xwiki.filter.xar.internal.input.WikiObjectReader;
35    import org.xwiki.filter.xar.internal.input.WikiReader;
36    import org.xwiki.filter.xar.internal.input.XARInputFilterStream;
37    import org.xwiki.filter.xar.internal.input.XARInputFilterStreamFactory;
38    import org.xwiki.filter.xar.internal.output.XAROutputFilterStream;
39    import org.xwiki.filter.xar.internal.output.XAROutputFilterStreamFactory;
40    import org.xwiki.properties.internal.DefaultBeanManager;
41    import org.xwiki.properties.internal.DefaultConverterManager;
42    import org.xwiki.properties.internal.converter.ConvertUtilsConverter;
43    import org.xwiki.properties.internal.converter.EnumConverter;
44    import org.xwiki.properties.internal.converter.LocaleConverter;
45    import org.xwiki.rendering.internal.transformation.XWikiRenderingContext;
46    import org.xwiki.test.annotation.ComponentList;
47    import org.xwiki.xar.internal.XarObjectPropertySerializerManager;
48    import org.xwiki.xar.internal.property.DateXarObjectPropertySerializer;
49    import org.xwiki.xar.internal.property.DefaultXarObjectPropertySerializer;
50    import org.xwiki.xar.internal.property.ListXarObjectPropertySerializer;
51   
52    import com.xpn.xwiki.internal.filter.XWikiDocumentFilterUtils;
53    import com.xpn.xwiki.internal.filter.input.BaseClassEventGenerator;
54    import com.xpn.xwiki.internal.filter.input.BaseObjectEventGenerator;
55    import com.xpn.xwiki.internal.filter.input.BasePropertyEventGenerator;
56    import com.xpn.xwiki.internal.filter.input.PropertyClassEventGenerator;
57    import com.xpn.xwiki.internal.filter.input.XWikiAttachmentEventGenerator;
58    import com.xpn.xwiki.internal.filter.input.XWikiDocumentLocaleEventGenerator;
59    import com.xpn.xwiki.internal.filter.output.BaseClassOutputFilterStream;
60    import com.xpn.xwiki.internal.filter.output.BaseObjectOutputFilterStream;
61    import com.xpn.xwiki.internal.filter.output.BasePropertyOutputFilterStream;
62    import com.xpn.xwiki.internal.filter.output.PropertyClassOutputFilterStream;
63    import com.xpn.xwiki.internal.filter.output.XWikiAttachmentOutputFilterStream;
64    import com.xpn.xwiki.internal.filter.output.XWikiDocumentOutputFilterStream;
65    import com.xpn.xwiki.internal.localization.XWikiLocalizationContext;
66    import com.xpn.xwiki.objects.meta.BooleanMetaClass;
67    import com.xpn.xwiki.objects.meta.ComputedFieldMetaClass;
68    import com.xpn.xwiki.objects.meta.DBListMetaClass;
69    import com.xpn.xwiki.objects.meta.DBTreeListMetaClass;
70    import com.xpn.xwiki.objects.meta.DateMetaClass;
71    import com.xpn.xwiki.objects.meta.EmailMetaClass;
72    import com.xpn.xwiki.objects.meta.GroupsMetaClass;
73    import com.xpn.xwiki.objects.meta.LevelsMetaClass;
74    import com.xpn.xwiki.objects.meta.ListMetaClass;
75    import com.xpn.xwiki.objects.meta.NumberMetaClass;
76    import com.xpn.xwiki.objects.meta.PageMetaClass;
77    import com.xpn.xwiki.objects.meta.PasswordMetaClass;
78    import com.xpn.xwiki.objects.meta.StaticListMetaClass;
79    import com.xpn.xwiki.objects.meta.StringMetaClass;
80    import com.xpn.xwiki.objects.meta.TextAreaMetaClass;
81    import com.xpn.xwiki.objects.meta.TimezoneMetaClass;
82    import com.xpn.xwiki.objects.meta.UsersMetaClass;
83    import com.xpn.xwiki.test.reference.ReferenceComponentList;
84   
85    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
86    import static java.lang.annotation.ElementType.METHOD;
87    import static java.lang.annotation.ElementType.TYPE;
88    import static java.lang.annotation.RetentionPolicy.RUNTIME;
89   
90    /**
91    * Pack of default Component implementations that are needed to use XWikiDocumentFilterUtils.
92    *
93    * @version $Id: dabfeb4e5f90ac6782e5a0c27f82d02c5ff06b8b $
94    * @since 9.0RC1
95    */
96    @Documented
97    @Retention(RUNTIME)
98    @Target({ TYPE, METHOD, ANNOTATION_TYPE })
99    @ComponentList({
100    EnumConverter.class,
101    ConvertUtilsConverter.class,
102    DefaultConverterManager.class,
103    DefaultBeanManager.class,
104    DefaultFilterDescriptorManager.class,
105    FilterEventParametersConverter.class,
106    LocaleConverter.class,
107    XWikiLocalizationContext.class,
108    XWikiRenderingContext.class,
109    BooleanMetaClass.class,
110    ComputedFieldMetaClass.class,
111    DateMetaClass.class,
112    ListMetaClass.class,
113    DBListMetaClass.class,
114    DBTreeListMetaClass.class,
115    PageMetaClass.class,
116    GroupsMetaClass.class,
117    LevelsMetaClass.class,
118    StaticListMetaClass.class,
119    UsersMetaClass.class,
120    NumberMetaClass.class,
121    StringMetaClass.class,
122    EmailMetaClass.class,
123    PasswordMetaClass.class,
124    TextAreaMetaClass.class,
125    TimezoneMetaClass.class,
126   
127    // Document output
128    BaseClassOutputFilterStream.class,
129    BaseObjectOutputFilterStream.class,
130    BasePropertyOutputFilterStream.class,
131    PropertyClassOutputFilterStream.class,
132    XWikiAttachmentOutputFilterStream.class,
133    XWikiDocumentOutputFilterStream.class,
134   
135    // Document input
136    BaseClassEventGenerator.class,
137    BaseObjectEventGenerator.class,
138    BasePropertyEventGenerator.class,
139    PropertyClassEventGenerator.class,
140    XWikiAttachmentEventGenerator.class,
141    XWikiDocumentLocaleEventGenerator.class,
142   
143    // XAR
144    XARInputFilterStreamFactory.class,
145    XARInputFilterStream.class,
146    XAROutputFilterStreamFactory.class,
147    XAROutputFilterStream.class,
148    XarObjectPropertySerializerManager.class,
149    ListXarObjectPropertySerializer.class,
150    DateXarObjectPropertySerializer.class,
151    DefaultXarObjectPropertySerializer.class,
152    DocumentLocaleReader.class,
153    AttachmentReader.class,
154    ClassPropertyReader.class,
155    ClassReader.class,
156    WikiObjectReader.class,
157    WikiObjectPropertyReader.class,
158    WikiReader.class,
159   
160    // Entry point
161    XWikiDocumentFilterUtils.class
162    })
163    @Inherited
164    @ReferenceComponentList
 
165    public @interface XWikiDocumentFilterUtilsComponentList
166    {
167    }