getName

java.lang.String getName()

Returns the administrative name of this fragment. This name should map
to a component name in the component repository defined by the type
attribute.
If the name is not mapped to any component, the fragment is discarded
from the rendering process, as well as any inner fragment.

Returns:

the administrative name

setName

void setName(java.lang.String name)

Binds an administrative name to this fragment

Parameters:

name - the administrative name

getType

java.lang.String getType()

Returns the type of the class bound to this fragment

setType

void setType(java.lang.String type)

Binds a type to this fragment

Parameters:

type - the type

getFragments

java.util.List getFragments()

Returns all fragments used in this node. This may be
a page fragment or even directly a portlet fragment