portlet-app_1_0.xsd
来自「portal越来越流行了」· XSD 代码 · 共 583 行 · 第 1/2 页
XSD
583 行
</complexType>
<complexType name="portlet-modeType">
<annotation>
<documentation>
Portlet modes. The specification pre-defines the following values
as valid portlet mode constants:
"edit", "help", "view".
Portlet mode names are not case sensitive.
Used in: custom-portlet-mode, supports
</documentation>
</annotation>
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<complexType name="portlet-nameType">
<annotation>
<documentation>
The portlet-name element contains the canonical name of the
portlet. Each portlet name is unique within the portlet
application.
Used in: portlet, portlet-mapping
</documentation>
</annotation>
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<complexType name="portlet-preferencesType">
<annotation>
<documentation>
Portlet persistent preference store.
Used in: portlet
</documentation>
</annotation>
<sequence>
<element name="preference" type="portlet:preferenceType" minOccurs="0" maxOccurs="unbounded"/>
<element name="preferences-validator" type="portlet:preferences-validatorType" minOccurs="0"/>
</sequence>
<attribute name="id" type="string" use="optional"/>
</complexType>
<complexType name="preferenceType">
<annotation>
<documentation>
Persistent preference values that may be used for customization
and personalization by the portlet.
Used in: portlet-preferences
</documentation>
</annotation>
<sequence>
<element name="name" type="portlet:nameType"/>
<element name="value" type="portlet:valueType" minOccurs="0" maxOccurs="unbounded"/>
<element name="read-only" type="portlet:read-onlyType" minOccurs="0"/>
</sequence>
<attribute name="id" type="string" use="optional"/>
</complexType>
<simpleType name="preferences-validatorType">
<annotation>
<documentation>
The class specified under preferences-validator implements
the PreferencesValidator interface to validate the
preferences settings.
Used in: portlet-preferences
</documentation>
</annotation>
<restriction base="portlet:fully-qualified-classType"/>
</simpleType>
<simpleType name="read-onlyType">
<annotation>
<documentation>
read-only indicates that a setting cannot
be changed in any of the standard portlet modes
("view","edit" or "help").
Per default all preferences are modifiable.
Valid values are:
- true for read-only
- false for modifiable
Used in: preferences
</documentation>
</annotation>
<restriction base="portlet:string">
<enumeration value="true"/>
<enumeration value="false"/>
</restriction>
</simpleType>
<complexType name="resource-bundleType">
<annotation>
<documentation>
Filename of the resource bundle containing the language specific
portlet informations in different languages.
Used in: portlet-info
</documentation>
</annotation>
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<complexType name="role-linkType">
<annotation>
<documentation>
The role-link element is a reference to a defined security role.
The role-link element must contain the name of one of the
security roles defined in the security-role elements.
Used in: security-role-ref
</documentation>
</annotation>
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<complexType name="security-constraintType">
<annotation>
<documentation>
The security-constraintType is used to associate
intended security constraints with one or more portlets.
Used in: portlet-app
</documentation>
</annotation>
<sequence>
<element name="display-name" type="portlet:display-nameType" minOccurs="0" maxOccurs="unbounded"/>
<element name="portlet-collection" type="portlet:portlet-collectionType"/>
<element name="user-data-constraint" type="portlet:user-data-constraintType"/>
</sequence>
<attribute name="id" type="string" use="optional"/>
</complexType>
<complexType name="security-role-refType">
<annotation>
<documentation>
The security-role-ref element contains the declaration of a
security role reference in the code of the web application. The
declaration consists of an optional description, the security
role name used in the code, and an optional link to a security
role. If the security role is not specified, the Deployer must
choose an appropriate security role.
The value of the role name element must be the String used
as the parameter to the
EJBContext.isCallerInRole(String roleName) method
or the HttpServletRequest.isUserInRole(String role) method.
Used in: portlet
</documentation>
</annotation>
<sequence>
<element name="description" type="portlet:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
<element name="role-name" type="portlet:role-nameType"/>
<element name="role-link" type="portlet:role-linkType" minOccurs="0"/>
</sequence>
<attribute name="id" type="string" use="optional"/>
</complexType>
<complexType name="short-titleType">
<annotation>
<documentation>
Locale specific short version of the static title.
Used in: portlet-info
</documentation>
</annotation>
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<complexType name="supportsType">
<annotation>
<documentation>
Supports indicates the portlet modes a
portlet supports for a specific content type. All portlets must
support the view mode.
Used in: portlet
</documentation>
</annotation>
<sequence>
<element name="mime-type" type="portlet:mime-typeType"/>
<element name="portlet-mode" type="portlet:portlet-modeType" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="string" use="optional"/>
</complexType>
<complexType name="supported-localeType">
<annotation>
<documentation>
Indicated the locales the portlet supports.
Used in: portlet
</documentation>
</annotation>
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<complexType name="titleType">
<annotation>
<documentation>
Locale specific static title for this portlet.
Used in: portlet-info
</documentation>
</annotation>
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<simpleType name="transport-guaranteeType">
<annotation>
<documentation>
The transport-guaranteeType specifies that
the communication between client and portlet should
be NONE, INTEGRAL, or CONFIDENTIAL.
NONE means that the portlet does not
require any transport guarantees. A value of
INTEGRAL means that the portlet requires that the
data sent between the client and portlet be sent in
such a way that it can't be changed in transit.
CONFIDENTIAL means that the portlet requires
that the data be transmitted in a fashion that
prevents other entities from observing the contents
of the transmission.
In most cases, the presence of the INTEGRAL or
CONFIDENTIAL flag will indicate that the use
of SSL is required.
Used in: user-data-constraint
</documentation>
</annotation>
<restriction base="portlet:string">
<enumeration value="NONE"/>
<enumeration value="INTEGRAL"/>
<enumeration value="CONFIDENTIAL"/>
</restriction>
</simpleType>
<complexType name="user-attributeType">
<annotation>
<documentation>
User attribute defines a user specific attribute that the
portlet application needs. The portlet within this application
can access this attribute via the request parameter USER_INFO
map.
Used in: portlet-app
</documentation>
</annotation>
<sequence>
<element name="description" type="portlet:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
<element name="name" type="portlet:nameType"/>
</sequence>
<attribute name="id" type="string" use="optional"/>
</complexType>
<complexType name="user-data-constraintType">
<annotation>
<documentation>
The user-data-constraintType is used to indicate how
data communicated between the client and portlet should be
protected.
Used in: security-constraint
</documentation>
</annotation>
<sequence>
<element name="description" type="portlet:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
<element name="transport-guarantee" type="portlet:transport-guaranteeType"/>
</sequence>
<attribute name="id" type="string" use="optional"/>
</complexType>
<complexType name="valueType">
<annotation>
<documentation>
The value element contains the value of a parameter.
Used in: init-param
</documentation>
</annotation>
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<complexType name="window-stateType">
<annotation>
<documentation>
Portlet window state. Window state names are not case sensitive.
Used in: custom-window-state
</documentation>
</annotation>
<simpleContent>
<extension base="string"/>
</simpleContent>
</complexType>
<!--- everything below is copied from j2ee_1_4.xsd -->
<complexType name="descriptionType">
<annotation>
<documentation>
The description element is used to provide text describing the
parent element. The description element should include any
information that the portlet application war file producer wants
to provide to the consumer of the portlet application war file
(i.e., to the Deployer). Typically, the tools used by the
portlet application war file consumer will display the
description when processing the parent element that contains the
description. It has an optional attribute xml:lang to indicate
which language is used in the description according to
RFC 1766 (http://www.ietf.org/rfc/rfc1766.txt). The default
value of this attribute is English(鈥渆n鈥
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?