From d09f86f3551c500323606a765b74a0028aeaec60 Mon Sep 17 00:00:00 2001 From: acolyer Date: Sun, 10 Apr 2005 12:33:40 +0000 Subject: [PATCH] add some style to our guides ;) --- docs/adk15ProgGuideDB/annotations.xml | 209 +++++++++++++++---------- docs/adk15ProgGuideDB/aspectj-docs.css | 83 ++++++++++ docs/adk15ProgGuideDB/dd_arrow.gif | Bin 0 -> 851 bytes docs/adk15ProgGuideDB/reflection.xml | 13 ++ docs/build.xml | 6 +- docs/devGuideDB/aspectj-docs.css | 83 ++++++++++ docs/devGuideDB/dd_arrow.gif | Bin 0 -> 851 bytes docs/progGuideDB/aspectj-docs.css | 83 ++++++++++ docs/progGuideDB/dd_arrow.gif | Bin 0 -> 851 bytes docs/progGuideDB/semantics.xml | 5 +- lib/docbook/docbook-xsl/html/param.xsl | 2 +- 11 files changed, 394 insertions(+), 90 deletions(-) create mode 100644 docs/adk15ProgGuideDB/aspectj-docs.css create mode 100644 docs/adk15ProgGuideDB/dd_arrow.gif create mode 100644 docs/devGuideDB/aspectj-docs.css create mode 100644 docs/devGuideDB/dd_arrow.gif create mode 100644 docs/progGuideDB/aspectj-docs.css create mode 100644 docs/progGuideDB/dd_arrow.gif diff --git a/docs/adk15ProgGuideDB/annotations.xml b/docs/adk15ProgGuideDB/annotations.xml index 83f3311d7..2cde28bef 100644 --- a/docs/adk15ProgGuideDB/annotations.xml +++ b/docs/adk15ProgGuideDB/annotations.xml @@ -341,47 +341,65 @@ Some examples of annotation patterns follow: - - - Matches any annotated element which has an annotation of - type Immutable. - - + - Matches any annotated element which does not have an annotation of - type Persistent. - - - - Matches any annotated element which has both an annotation of type Foo and - an annotation of type Goo. + + @Immutable + + + Matches any annotated element which has an annotation of + type Immutable. + + + - + + !@Persistent + + + Matches any annotated element which does not have an annotation of + type Persistent. + + + - Matches any annotated element which has either an annotation of a type matching - the type pattern (Foo || Goo). - In other words, an annotated element with either an - annotation of type Foo or - an annotation of type Goo (or both). (The parenthesis are required in this example). - + + @Foo @Goo + + + Matches any annotated element which has both an annotation of type Foo and + an annotation of type Goo. + + + - + + @(Foo || Goo) + + + Matches any annotated element which has either an annotation of a type matching + the type pattern (Foo || Goo). + In other words, an annotated element with either an + annotation of type Foo or + an annotation of type Goo (or both). (The parenthesis are required in this example). + + + - Matches any annotated element which has either an annotation of a type matching - the type pattern (org.xyz..*). - In other words, an annotated element with an annotation that is declared in the - org.xyz package or a sub-package. (The parenthesis are required in this example). + + @(org.xyz..*) + + + Matches any annotated element which has either an annotation of a type matching + the type pattern (org.xyz..*). + In other words, an annotated element with an annotation that is declared in the + org.xyz package or a sub-package. (The parenthesis are required in this example). + + + + + @@ -425,64 +443,83 @@ patterns: - + - Matches any type with an @Immutable annotation. + + (@Immutable *) + + + Matches any type with an @Immutable annotation. + + + - + + (!@Immutable *) + + + Matches any type which does not have an @Immutable annotation. + + + - Matches any type which does not have an @Immutable annotation. + + (@Immutable (org.xyz.* || org.abc.*)) + + + Matches any type in the org.xyz or org.abc + packages with the @Immutable annotation. + + + + + + ((@Immutable Foo+) || Goo) + + + Matches a type Foo or any of its subtypes, which have the @Immutable + annotation, or a type Goo. + + + - + + ((@(Immutable || NonPersistent) org.xyz..*) + + + Matches any type in a package beginning with the prefix org.xyz, + which has either the @Immutable annotation or the + @NonPersistent annotation. + + + - Matches any type in the org.xyz or org.abc - packages with the @Immutable annotation. + + (@Immutable @NonPersistent org.xyz..*) + + + Matches any type in a package beginning with the prefix org.xyz, + which has both an @Immutable annotation and an + @NonPersistent annotation. + + + - + + (@(@Inherited *) org.xyz..*) + + + Matches any type in a package beginning with the prefix org.xyz, + which has an inheritable annotation. The annotation pattern + @(@Inherited *) matches any annotation of a type matching the + type pattern @Inherited *, which in turn matches any type with the + @Inherited annotation. + + + - Matches a type Foo or any of its subtypes, which have the @Immutable - annotation, or a type Goo. - - - - - Matches any type in a package beginning with the prefix org.xyz, - which has either the @Immutable annotation or the - @NonPersistent annotation. - - - - - - Matches any type in a package beginning with the prefix org.xyz, - which has both an @Immutable annotation and an - @NonPersistent annotation. - - - - - - Matches any type in a package beginning with the prefix org.xyz, - which has an inheritable annotation. The annotation pattern - @(@Inherited *) matches any annotation of a type matching the - type pattern @Inherited *, which in turn matches any type with the - @Inherited annotation. - - + + diff --git a/docs/adk15ProgGuideDB/aspectj-docs.css b/docs/adk15ProgGuideDB/aspectj-docs.css new file mode 100644 index 000000000..3f58ddb57 --- /dev/null +++ b/docs/adk15ProgGuideDB/aspectj-docs.css @@ -0,0 +1,83 @@ +body { + font-family: "Lucida Grande", "Trebuchet MS", sans-serif; + line-height: 1.1em; + } + +h2 { + font-size: 130%; + font-weight: bold ; + line-height: 16px; + color: #FFFFFF; + background-color: #0080C0; + padding: 5px; +} + +h3 { + font-size: 110%; + font-weight: bold ; + line-height: 14px; + color: #FFFFFF; + background-color: orange; + padding: 5px; +} + +tt { + font-size: 120%; + color: #0080C0; + } + +tt tt { + font-size: 100%; + } + +.programlisting { + padding-top: 5px; + border: 2px solid #ccc; + background: #eee; + font-size: 120%; + color: #111199; + + } + +.term { + color: #111199; + } + +.variablelist dd { + margin-left: 18px; + padding-left: 20px; + background: url(dd_arrow.gif) no-repeat 0 2px; + } + +.toc dt { + font-size: 110%; + padding-bottom: 0px; + margin-bottom: 5px; + } + +.toc dl dd dt { + font-size: 100%; + } + +.toc dt { + font-size: 100% + margin-bottom: 0; + } + +.informaltable table { + margin-left: 5%; + } + +.informaltable th { + background-color: orange; + padding: 1px; + } + +ul li { + line-height: 1.2em; + } + +.keyword { + font-weight: bold; + color: purple; + } \ No newline at end of file diff --git a/docs/adk15ProgGuideDB/dd_arrow.gif b/docs/adk15ProgGuideDB/dd_arrow.gif new file mode 100644 index 0000000000000000000000000000000000000000..a16b34c95e974fedfde9ace1d51940b38fa96a35 GIT binary patch literal 851 zcmb`GKZ?|G48`Aq#b`4if`!5!Kno$wij^X|VrON$O-|qe1{M~v5k!l0;-7vI4=`(E zlLL4JORcOVe%|*C28Q2clDxe4@|(v`9v$61*=nmla_rV;w;nsPonyb>55JFQJ$Uks z;J5!5A*EDOdlOlNA{C`*#kiQEOl2usIqt1crK(h|8jp6UQ(fv-o2e!=sVPlE+rWkf zi($IQdmI^25gjpJOO_c~ksUc^L9sHbqB?3!ir&uXitgxvBcm}HQ!yRGR#*cDX;?yw z8jHaO8Z3s#f}9hT*_mT~tR<_;>a4L`SWxWB?(9K5r0C75oX$ZWen69H>_9&xPzYGrO*6Ss+uj}3}t`pkkbrtt6qwV_g&ZEl? zA7Lpp(jx7fEFK14(7X;@3G>jzs@r~>{a?`LNQax7$LH@aPA~oa^x*lOcZX+}uU~!p q&q{npPn5Y=-xleZgKMf literal 0 HcmV?d00001 diff --git a/docs/adk15ProgGuideDB/reflection.xml b/docs/adk15ProgGuideDB/reflection.xml index a412ab86e..9afde22c4 100644 --- a/docs/adk15ProgGuideDB/reflection.xml +++ b/docs/adk15ProgGuideDB/reflection.xml @@ -2,5 +2,18 @@ New Reflection Interfaces + + AspectJ 5 provides support for runtime reflection of aspect types. The class Aspect is + analogous to the Java class Class and provides access to the members of an aspect. + + + + The Aspect Class + + + + + + diff --git a/docs/build.xml b/docs/build.xml index 814a7f6d0..9dff6c836 100644 --- a/docs/build.xml +++ b/docs/build.xml @@ -269,6 +269,8 @@ + @@ -276,6 +278,8 @@ + @@ -298,7 +302,7 @@ diff --git a/docs/devGuideDB/aspectj-docs.css b/docs/devGuideDB/aspectj-docs.css new file mode 100644 index 000000000..3f58ddb57 --- /dev/null +++ b/docs/devGuideDB/aspectj-docs.css @@ -0,0 +1,83 @@ +body { + font-family: "Lucida Grande", "Trebuchet MS", sans-serif; + line-height: 1.1em; + } + +h2 { + font-size: 130%; + font-weight: bold ; + line-height: 16px; + color: #FFFFFF; + background-color: #0080C0; + padding: 5px; +} + +h3 { + font-size: 110%; + font-weight: bold ; + line-height: 14px; + color: #FFFFFF; + background-color: orange; + padding: 5px; +} + +tt { + font-size: 120%; + color: #0080C0; + } + +tt tt { + font-size: 100%; + } + +.programlisting { + padding-top: 5px; + border: 2px solid #ccc; + background: #eee; + font-size: 120%; + color: #111199; + + } + +.term { + color: #111199; + } + +.variablelist dd { + margin-left: 18px; + padding-left: 20px; + background: url(dd_arrow.gif) no-repeat 0 2px; + } + +.toc dt { + font-size: 110%; + padding-bottom: 0px; + margin-bottom: 5px; + } + +.toc dl dd dt { + font-size: 100%; + } + +.toc dt { + font-size: 100% + margin-bottom: 0; + } + +.informaltable table { + margin-left: 5%; + } + +.informaltable th { + background-color: orange; + padding: 1px; + } + +ul li { + line-height: 1.2em; + } + +.keyword { + font-weight: bold; + color: purple; + } \ No newline at end of file diff --git a/docs/devGuideDB/dd_arrow.gif b/docs/devGuideDB/dd_arrow.gif new file mode 100644 index 0000000000000000000000000000000000000000..a16b34c95e974fedfde9ace1d51940b38fa96a35 GIT binary patch literal 851 zcmb`GKZ?|G48`Aq#b`4if`!5!Kno$wij^X|VrON$O-|qe1{M~v5k!l0;-7vI4=`(E zlLL4JORcOVe%|*C28Q2clDxe4@|(v`9v$61*=nmla_rV;w;nsPonyb>55JFQJ$Uks z;J5!5A*EDOdlOlNA{C`*#kiQEOl2usIqt1crK(h|8jp6UQ(fv-o2e!=sVPlE+rWkf zi($IQdmI^25gjpJOO_c~ksUc^L9sHbqB?3!ir&uXitgxvBcm}HQ!yRGR#*cDX;?yw z8jHaO8Z3s#f}9hT*_mT~tR<_;>a4L`SWxWB?(9K5r0C75oX$ZWen69H>_9&xPzYGrO*6Ss+uj}3}t`pkkbrtt6qwV_g&ZEl? zA7Lpp(jx7fEFK14(7X;@3G>jzs@r~>{a?`LNQax7$LH@aPA~oa^x*lOcZX+}uU~!p q&q{npPn5Y=-xleZgKMf literal 0 HcmV?d00001 diff --git a/docs/progGuideDB/aspectj-docs.css b/docs/progGuideDB/aspectj-docs.css new file mode 100644 index 000000000..3f58ddb57 --- /dev/null +++ b/docs/progGuideDB/aspectj-docs.css @@ -0,0 +1,83 @@ +body { + font-family: "Lucida Grande", "Trebuchet MS", sans-serif; + line-height: 1.1em; + } + +h2 { + font-size: 130%; + font-weight: bold ; + line-height: 16px; + color: #FFFFFF; + background-color: #0080C0; + padding: 5px; +} + +h3 { + font-size: 110%; + font-weight: bold ; + line-height: 14px; + color: #FFFFFF; + background-color: orange; + padding: 5px; +} + +tt { + font-size: 120%; + color: #0080C0; + } + +tt tt { + font-size: 100%; + } + +.programlisting { + padding-top: 5px; + border: 2px solid #ccc; + background: #eee; + font-size: 120%; + color: #111199; + + } + +.term { + color: #111199; + } + +.variablelist dd { + margin-left: 18px; + padding-left: 20px; + background: url(dd_arrow.gif) no-repeat 0 2px; + } + +.toc dt { + font-size: 110%; + padding-bottom: 0px; + margin-bottom: 5px; + } + +.toc dl dd dt { + font-size: 100%; + } + +.toc dt { + font-size: 100% + margin-bottom: 0; + } + +.informaltable table { + margin-left: 5%; + } + +.informaltable th { + background-color: orange; + padding: 1px; + } + +ul li { + line-height: 1.2em; + } + +.keyword { + font-weight: bold; + color: purple; + } \ No newline at end of file diff --git a/docs/progGuideDB/dd_arrow.gif b/docs/progGuideDB/dd_arrow.gif new file mode 100644 index 0000000000000000000000000000000000000000..a16b34c95e974fedfde9ace1d51940b38fa96a35 GIT binary patch literal 851 zcmb`GKZ?|G48`Aq#b`4if`!5!Kno$wij^X|VrON$O-|qe1{M~v5k!l0;-7vI4=`(E zlLL4JORcOVe%|*C28Q2clDxe4@|(v`9v$61*=nmla_rV;w;nsPonyb>55JFQJ$Uks z;J5!5A*EDOdlOlNA{C`*#kiQEOl2usIqt1crK(h|8jp6UQ(fv-o2e!=sVPlE+rWkf zi($IQdmI^25gjpJOO_c~ksUc^L9sHbqB?3!ir&uXitgxvBcm}HQ!yRGR#*cDX;?yw z8jHaO8Z3s#f}9hT*_mT~tR<_;>a4L`SWxWB?(9K5r0C75oX$ZWen69H>_9&xPzYGrO*6Ss+uj}3}t`pkkbrtt6qwV_g&ZEl? zA7Lpp(jx7fEFK14(7X;@3G>jzs@r~>{a?`LNQax7$LH@aPA~oa^x*lOcZX+}uU~!p q&q{npPn5Y=-xleZgKMf literal 0 HcmV?d00001 diff --git a/docs/progGuideDB/semantics.xml b/docs/progGuideDB/semantics.xml index b04f5a9aa..cf5740fde 100644 --- a/docs/progGuideDB/semantics.xml +++ b/docs/progGuideDB/semantics.xml @@ -209,14 +209,15 @@ - + Join Point Current Object Target Object Arguments - + + Method Call executing object* diff --git a/lib/docbook/docbook-xsl/html/param.xsl b/lib/docbook/docbook-xsl/html/param.xsl index 4851478a7..9bffb4966 100644 --- a/lib/docbook/docbook-xsl/html/param.xsl +++ b/lib/docbook/docbook-xsl/html/param.xsl @@ -86,7 +86,7 @@ is suppressed. - +aspectj-docs.css Name of the stylesheet to use in the generated HTML -- 2.39.5