org.apache.struts.tiles.xmlDefinition
クラス XmlDefinitionsSet

java.lang.Object
  拡張org.apache.struts.tiles.xmlDefinition.XmlDefinitionsSet

public class XmlDefinitionsSet
extends java.lang.Object

A set of definitions read from XML definitions file.


フィールドの概要
protected  java.util.Map definitions
          Defined definitions.
 
コンストラクタの概要
XmlDefinitionsSet()
          Constructor.
 
メソッドの概要
 void extend(XmlDefinitionsSet child)
          Add definitions from specified child definitions set.
 XmlDefinition getDefinition(java.lang.String name)
          Get requested definition.
 java.util.Map getDefinitions()
          Get definitions map.
 void putDefinition(XmlDefinition definition)
          Put definition in set.
 void resolveInheritances()
          Resolve extended instances.
 java.lang.String toString()
          Get String representation.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

definitions

protected java.util.Map definitions
Defined definitions.

コンストラクタの詳細

XmlDefinitionsSet

public XmlDefinitionsSet()
Constructor.

メソッドの詳細

putDefinition

public void putDefinition(XmlDefinition definition)
Put definition in set.

パラメータ:
definition - Definition to add.

getDefinition

public XmlDefinition getDefinition(java.lang.String name)
Get requested definition.

パラメータ:
name - Definition name.

getDefinitions

public java.util.Map getDefinitions()
Get definitions map.


resolveInheritances

public void resolveInheritances()
                         throws NoSuchDefinitionException
Resolve extended instances.

例外:
NoSuchDefinitionException

extend

public void extend(XmlDefinitionsSet child)
Add definitions from specified child definitions set. For each definition in child, look if it already exists in this set. If not, add it, if yes, overload parent's definition with child definition.

パラメータ:
child - Definition used to overload this object.

toString

public java.lang.String toString()
Get String representation.



このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2004 - Apache Software Foundation