<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
<model>
<id>decoration</id>
<name>Decoration</name>
<description><![CDATA[
<p>This is a reference for the site decoration descriptor used in Doxia.</p>
<p>An XSD is available at:</p>
<ul>
<li><a href="http://maven.apache.org/xsd/decoration-1.0.0.xsd">http://maven.apache.org/xsd/decoration-1.0.0.xsd</a> for Maven 2.0.</li>
</ul>
]]></description>
<defaults>
<default>
<key>package</key>
<value>org.apache.maven.doxia.site.decoration</value>
</default>
</defaults>
<classes>
<class rootElement="true" xml.tagName="project">
<name>DecorationModel</name>
<description><![CDATA[
The <code><project></code> element is the root of the site decoration descriptor.
The following table lists all of the possible child elements.
]]></description>
<version>1.0.0</version>
<fields>
<field xml.attribute="true">
<name>name</name>
<description><![CDATA[
The full name of the project.
]]></description>
<version>1.0.0</version>
<type>String</type>
<identifier>true</identifier>
</field>
<field>
<name>bannerLeft</name>
<description><![CDATA[
Banner logo on the masthead of the site to the left.
]]></description>
<version>1.0.0</version>
<association>
<type>Banner</type>
</association>
<identifier>true</identifier>
</field>
<field>
<name>bannerRight</name>
<description><![CDATA[
Banner logo on the masthead of the site to the right.
]]></description>
<version>1.0.0</version>
<association>
<type>Banner</type>
</association>
<identifier>true</identifier>
</field>
<field>
<name>publishDate</name>
<description><![CDATA[
Modify the date published display properties.
]]></description>
<version>1.0.0</version>
<association>
<type>PublishDate</type>
</association>
<identifier>true</identifier>
</field>
<field>
<name>version</name>
<description><![CDATA[
Modify the version published display properties.
]]></description>
<version>1.0.0</version>
<association>
<type>Version</type>
</association>
<identifier>true</identifier>
</field>
<field xml.associationTagName="logo">
<name>poweredBy</name>
<description><![CDATA[
Powered by logos list.
]]></description>
<version>1.0.0</version>
<association>
<type>Logo</type>
<multiplicity>*</multiplicity>
</association>
<identifier>true</identifier>
</field>
<field>
<name>skin</name>
<description><![CDATA[
The artifact containing the skin for the site.
]]></description>
<version>1.0.0</version>
<association>
<type>Skin</type>
</association>
<identifier>true</identifier>
</field>
<field>
<name>body</name>
<description><![CDATA[
The main site content decoration.
]]></description>
<version>1.0.0</version>
<association>
<type>Body</type>
</association>
<identifier>true</identifier>
</field>
<field>
<name>custom</name>
<description><![CDATA[
Custom configuration for use with customised Velocity templates.
]]></description>
<version>1.0.0</version>
<type>DOM</type>
<identifier>true</identifier>
</field>
</fields>
<codeSegments>
<codeSegment>
<version>1.0.0</version>
<code>
<![CDATA[
private java.util.Map menusByRef;
public Menu getMenuRef( String key )
{
if ( menusByRef == null )
{
menusByRef = new java.util.HashMap();
if ( body != null )
{
for ( java.util.Iterator i = body.getMenus().iterator(); i.hasNext(); )
{
Menu menu = (Menu) i.next();
if ( menu.getRef() != null )
{
menusByRef.put( menu.getRef(), menu );
}
}
}
}
return (Menu) menusByRef.get( key );
}
public void removeMenuRef( String key )
{
if ( body != null )
{
for ( java.util.Iterator i = body.getMenus().iterator(); i.hasNext(); )
{
Menu menu = (Menu) i.next();
if ( key.equals( menu.getRef() ) )
{
i.remove();
}
}
}
}
public java.util.List getMenus()
{
java.util.List menus;
if ( body != null && body.getMenus() != null )
{
menus = body.getMenus();
}
else
{
menus = java.util.Collections.EMPTY_LIST;
}
return menus;
}
]]>
</code>
</codeSegment>
</codeSegments>
</class>
<class>
<name>Banner</name>
<description><![CDATA[
Banner logo on the masthead of the site.
]]></description>
<version>1.0.0</version>
<fields>
<field>
<name>name</name>
<version>1.0.0</version>
<description><![CDATA[
The name of the banner.
]]></description>
<type>String</type>
<identifier>true</identifier>
</field>
<field>
<name>src</name>
<version>1.0.0</version>
<description><![CDATA[
The location of an image for the banner.
]]></description>
<type>String</type>
<identifier>true</identifier>
</field>
<field>
<name>alt</name>
<version>1.0.0</version>
<description><![CDATA[
The alt description for the banner image.
]]></description>
<type>String</type>
<identifier>true</identifier>
</field>
<field>
<name>href</name>
<version>1.0.0</version>
<description><![CDATA[
The href of a link to be used for the banner image.
]]></description>
<type>String</type>
<identifier>true</identifier>
</field>
</fields>
</class>
<class>
<name>PublishDate</name>
<description><![CDATA[
Modify display properties for date published.
]]></description>
<version>1.0.0</version>
<fields>
<field xml.attribute="true">
<name>position</name>
<description><![CDATA[
Where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
]]></description>
没有合适的资源?快使用搜索试试~ 我知道了~
mvcwebproject of myEclipse3.2
共375个文件
java:132个
png:102个
apt:35个
需积分: 3 35 下载量 120 浏览量
2008-08-31
22:08:10
上传
评论
收藏 20.98MB ZIP 举报
温馨提示
myEclipse mvc插件,很好用的MVC插件
资源推荐
资源详情
资源评论
收起资源包目录
mvcwebproject of myEclipse3.2 (375个子文件)
step2.apt 5KB
architecture.apt 5KB
install.apt 5KB
step6.apt 4KB
step3.apt 3KB
step4.apt 3KB
step7.apt 3KB
introduction.apt 3KB
wellknownclasses.apt 3KB
views.apt 2KB
flows.apt 2KB
actions.apt 2KB
packageextensions.apt 2KB
viewsextensions.apt 2KB
xsltextensions.apt 2KB
actionsextensions.apt 2KB
step1.apt 2KB
step4-1.apt 2KB
features.apt 2KB
roadmap.apt 2KB
panelextensions.apt 2KB
propertiesextensions.apt 2KB
packages.apt 2KB
index.apt 2KB
linkextensions.apt 2KB
featuresextensions.apt 1KB
documentlistenersextensions.apt 1KB
migrating.apt 1KB
tutorial.apt 1KB
support.apt 1KB
index.apt 944B
step5.apt 874B
license.apt 554B
download.apt 346B
extensions.apt 241B
.classpath 655B
.classpath 641B
.classpath 364B
.classpath 300B
maven-base.css 2KB
maven-base-eclipse.css 2KB
print.css 222B
xsltfilters.exsd 4KB
viewmanager.exsd 4KB
actionmanager.exsd 4KB
generalproperties.exsd 3KB
packageextensions.exsd 3KB
features.exsd 3KB
panel.exsd 3KB
linkmanager.exsd 3KB
documentlistener.exsd 3KB
sample.gif 6KB
alveole.gif 1KB
alveole16x16.gif 562B
collapsed.gif 53B
expanded.gif 52B
xalan-2.7.0.jar 2.6MB
xalan-2.7.0.jar 2.6MB
struts2-core-2.0.11.jar 2.22MB
jung-1.7.6.jar 900KB
freemarker-2.3.8.jar 784KB
colt.jar 568KB
commons-collections-3.2.jar 558KB
xwork-2.0.4.jar 445KB
antlr-2.7.2.jar 350KB
ognl-2.6.11.jar 164KB
tiles-core-2.0.4.jar 123KB
commons-validator-1.3.0.jar 117KB
commons-beanutils-1.6.jar 116KB
commons-chain-1.1.jar 88KB
oro-2.0.8.jar 64KB
tiles-jsp-2.0.4.jar 46KB
commons-logging-api-1.1.jar 44KB
commons-logging-1.0.4.jar 37KB
alveole-struts2.jar 22KB
tiles-api-2.0.4.jar 16KB
alveole-tools.jar 2KB
Struts2BaseFileEditor.java 42KB
PackageNavigatorEditor.java 36KB
Struts2ActionEditor.java 30KB
Project.java 27KB
PackageNavigatorModel.java 26KB
Struts2Tools.java 25KB
Struts2ActionActionManager.java 16KB
Struts2ActionShortView.java 11KB
Struts2BaseFileModel.java 11KB
Plugins.java 10KB
JspGenericViewManager.java 10KB
ProjectEditor.java 10KB
Struts2FeatureWizard.java 10KB
CustomLayout.java 9KB
StaticFileGenericViewManager.java 9KB
ProjectPropertiesEditor.java 8KB
XsltManager.java 8KB
NodePackage.java 8KB
BeanPanel.java 7KB
StaticFileBasicView.java 7KB
LinkEditor.java 7KB
Struts2LinkManager.java 7KB
JspBasicView.java 7KB
共 375 条
- 1
- 2
- 3
- 4
资源评论
liuchengren
- 粉丝: 4
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功