blob: 2b947a17561902ba446256e5d16857d2421fb062 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Aug 22 03:44:00 EDT 2003 -->
<TITLE>
XmlDefinition (Apache Struts API Documentation)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.struts.tiles.xmlDefinition.XmlDefinition,XmlDefinition class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="XmlDefinition (Apache Struts API Documentation)";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlDefinition.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlAttribute.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinitionsSet.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="XmlDefinition.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.struts.tiles.xmlDefinition</FONT>
<BR>
Class XmlDefinition</H2>
<PRE>
java.lang.Object
|
+--<A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html">org.apache.struts.tiles.ComponentDefinition</A>
|
+--<B>org.apache.struts.tiles.xmlDefinition.XmlDefinition</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT>public class <B>XmlDefinition</B><DT>extends <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html">ComponentDefinition</A></DL>
<P>
A definition read from an XML definitions file.
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html" TARGET="org.apache.struts.tiles.xmlDefinition.XmlDefinition">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#inherit">inherit</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extends attribute value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#isVisited">isVisited</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for resolving inheritance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;org.apache.commons.logging.Log</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#log">log</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Commons Logging instance.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.struts.tiles.ComponentDefinition"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.struts.tiles.<A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html">ComponentDefinition</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#ACTION">ACTION</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#attributes">attributes</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#controller">controller</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#CONTROLLER">CONTROLLER</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#controllerType">controllerType</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#name">name</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#path">path</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#role">role</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#URL">URL</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#XmlDefinition()">XmlDefinition</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#addAttribute(org.apache.struts.tiles.xmlDefinition.XmlAttribute)">addAttribute</A></B>(<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlAttribute.html">XmlAttribute</A>&nbsp;attribute)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add an attribute to this component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#getExtends()">getExtends</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get extends.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#isExtending()">isExtending</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get extends flag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#overload(org.apache.struts.tiles.xmlDefinition.XmlDefinition)">overload</A></B>(<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html">XmlDefinition</A>&nbsp;child)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overload this definition with passed child.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#resolveInheritance(org.apache.struts.tiles.xmlDefinition.XmlDefinitionsSet)">resolveInheritance</A></B>(<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinitionsSet.html">XmlDefinitionsSet</A>&nbsp;definitionsSet)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resolve inheritance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#setExtends(java.lang.String)">setExtends</A></B>(java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set extends.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html#setIsVisited(boolean)">setIsVisited</A></B>(boolean&nbsp;isVisited)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set isVisited.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.struts.tiles.ComponentDefinition"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.struts.tiles.<A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html">ComponentDefinition</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#createController(java.lang.String, java.lang.String)">createController</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#createControllerFromClassname(java.lang.String)">createControllerFromClassname</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getAttribute(java.lang.String)">getAttribute</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getAttributes()">getAttributes</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getController()">getController</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getControllerInstance()">getControllerInstance</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getControllerType()">getControllerType</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getName()">getName</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getOrCreateController()">getOrCreateController</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getPage()">getPage</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getPath()">getPath</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getRole()">getRole</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#getTemplate()">getTemplate</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#put(java.lang.String, java.lang.Object)">put</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#put(java.lang.String, java.lang.Object, boolean)">put</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#put(java.lang.String, java.lang.Object, boolean, java.lang.String)">put</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#put(java.lang.String, java.lang.Object, java.lang.String, java.lang.String)">put</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#putAttribute(java.lang.String, java.lang.Object)">putAttribute</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setController(java.lang.String)">setController</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setControllerClass(java.lang.String)">setControllerClass</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setControllerInstance(org.apache.struts.tiles.Controller)">setControllerInstance</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setControllerType(java.lang.String)">setControllerType</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setControllerUrl(java.lang.String)">setControllerUrl</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setPage(java.lang.String)">setPage</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setPath(java.lang.String)">setPath</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setRole(java.lang.String)">setRole</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#setTemplate(java.lang.String)">setTemplate</A>, <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="inherit"><!-- --></A><H3>
inherit</H3>
<PRE>
private java.lang.String <B>inherit</B></PRE>
<DL>
<DD>Extends attribute value.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="log"><!-- --></A><H3>
log</H3>
<PRE>
protected static org.apache.commons.logging.Log <B>log</B></PRE>
<DL>
<DD>Commons Logging instance.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="isVisited"><!-- --></A><H3>
isVisited</H3>
<PRE>
private boolean <B>isVisited</B></PRE>
<DL>
<DD>Used for resolving inheritance.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="XmlDefinition()"><!-- --></A><H3>
XmlDefinition</H3>
<PRE>
public <B>XmlDefinition</B>()</PRE>
<DL>
<DD>Constructor.
<P>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="addAttribute(org.apache.struts.tiles.xmlDefinition.XmlAttribute)"><!-- --></A><H3>
addAttribute</H3>
<PRE>
public void <B>addAttribute</B>(<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlAttribute.html">XmlAttribute</A>&nbsp;attribute)</PRE>
<DL>
<DD>Add an attribute to this component.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attribute</CODE> - Attribute to add.</DL>
</DD>
</DL>
<HR>
<A NAME="setExtends(java.lang.String)"><!-- --></A><H3>
setExtends</H3>
<PRE>
public void <B>setExtends</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Set extends.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the extended definition.</DL>
</DD>
</DL>
<HR>
<A NAME="getExtends()"><!-- --></A><H3>
getExtends</H3>
<PRE>
public java.lang.String <B>getExtends</B>()</PRE>
<DL>
<DD>Get extends.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Name of the extended definition.</DL>
</DD>
</DL>
<HR>
<A NAME="isExtending()"><!-- --></A><H3>
isExtending</H3>
<PRE>
public boolean <B>isExtending</B>()</PRE>
<DL>
<DD>Get extends flag.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setIsVisited(boolean)"><!-- --></A><H3>
setIsVisited</H3>
<PRE>
public void <B>setIsVisited</B>(boolean&nbsp;isVisited)</PRE>
<DL>
<DD>Set isVisited.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="resolveInheritance(org.apache.struts.tiles.xmlDefinition.XmlDefinitionsSet)"><!-- --></A><H3>
resolveInheritance</H3>
<PRE>
public void <B>resolveInheritance</B>(<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinitionsSet.html">XmlDefinitionsSet</A>&nbsp;definitionsSet)
throws <A HREF="../../../../../org/apache/struts/tiles/NoSuchDefinitionException.html">NoSuchDefinitionException</A></PRE>
<DL>
<DD>Resolve inheritance.
First, resolve parent's inheritance, then set path to the parent's path.
Also copy attributes setted in parent, and not set in child
If instance doesn't extend anything, do nothing.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/struts/tiles/NoSuchDefinitionException.html">NoSuchDefinitionException</A></CODE> - If an inheritance can not be solved.</DL>
</DD>
</DL>
<HR>
<A NAME="overload(org.apache.struts.tiles.xmlDefinition.XmlDefinition)"><!-- --></A><H3>
overload</H3>
<PRE>
public void <B>overload</B>(<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinition.html">XmlDefinition</A>&nbsp;child)</PRE>
<DL>
<DD>Overload this definition with passed child.
All attributes from child are copied to this definition. Previous attributes with
same name are disguarded.
Special attribute 'path','role' and 'extends' are overloaded if defined in child.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>child</CODE> - Child used to overload this definition.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlDefinition.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlAttribute.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/struts/tiles/xmlDefinition/XmlDefinitionsSet.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="XmlDefinition.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright © 2000-2003 - Apache Software Foundation
</BODY>
</HTML>