root/trunk/src/main/php/net/stubbles/xml/serializer/annotations/stubXMLIgnoreAnnotation.php

Revision 1229, 0.8 kB (checked in by mikey, 4 months ago)

continued refactoring #119: replaced package dots in net::stubbles::xml

Line 
1 <?php
2 /**
3  * Annotation for XMLSerializer
4  *
5  * @author      Stephan Schmidt <schst@stubbles.net>
6  * @package     stubbles
7  * @subpackage  xml_serializer_annotations
8  */
9 stubClassLoader::load('net::stubbles::reflection::annotations::stubAnnotation',
10                       'net::stubbles::reflection::annotations::stubAbstractAnnotation'
11 );
12 /**
13  * Annotation for XMLSerializer
14  *
15  * Use this annotation, if you do not want a property to be serialized.
16  *
17  * @package     stubbles
18  * @subpackage  xml_serializer_annotations
19  */
20 class stubXMLIgnoreAnnotation extends stubAbstractAnnotation implements stubAnnotation
21 {
22
23     /**
24      * Returns the target of the annotation as bitmap.
25      *
26      * @return  int
27      */
28     public function getAnnotationTarget()
29     {
30         return stubAnnotation::TARGET_ALL;
31     }
32 }
33 ?>
Note: See TracBrowser for help on using the browser.