org.apache.pluto.portalImpl.om.page.impl
Class FragmentImpl

java.lang.Object
  extended by org.apache.pluto.portalImpl.om.page.impl.FragmentImpl
All Implemented Interfaces:
java.io.Serializable, Fragment

public class FragmentImpl
extends java.lang.Object
implements Fragment, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
FragmentImpl()
           
 
Method Summary
 Fragment build(javax.servlet.ServletConfig config, Fragment fragmentParent)
           
 java.lang.String getClassname()
          Returns the classname of the class bound to this fragment.
 java.util.Collection getFragments()
          Returns all fragments used in this node.
 java.lang.String getName()
          Returns the administrative name of this fragment.
 Navigation getNavigation()
          Returns the navigational information linked with this fragment.
 java.util.Collection getProperties()
          Returns all properties describing this fragment.
 java.lang.String getType()
          Returns the type of the class bound to this fragment.
 void setClassname(java.lang.String classname)
          binds a classname to this fragment.
 void setFragments(java.util.Collection fragments)
           
 void setName(java.lang.String name)
          binds an administrative name to this fragment.
 void setNavigation(Navigation navigation)
          binds navigational information to this fragment.
 void setType(java.lang.String type)
          binds a type to this fragment.
 java.lang.String toString()
           
 java.lang.String toString(int indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FragmentImpl

public FragmentImpl()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Fragment
Returns the administrative name of this fragment.

Specified by:
getName in interface Fragment
Returns:
the administrative name

setName

public void setName(java.lang.String name)
Description copied from interface: Fragment
binds an administrative name to this fragment.

Specified by:
setName in interface Fragment
Parameters:
name - the administrative name

getClassname

public java.lang.String getClassname()
Description copied from interface: Fragment
Returns the classname of the class bound to this fragment.

Specified by:
getClassname in interface Fragment
Returns:
the classname

setClassname

public void setClassname(java.lang.String classname)
Description copied from interface: Fragment
binds a classname to this fragment.

Specified by:
setClassname in interface Fragment
Parameters:
classname - the classname

getType

public java.lang.String getType()
Description copied from interface: Fragment
Returns the type of the class bound to this fragment.

Specified by:
getType in interface Fragment
Returns:
the type

setType

public void setType(java.lang.String type)
Description copied from interface: Fragment
binds a type to this fragment.

Specified by:
setType in interface Fragment
Parameters:
type - the type

getNavigation

public Navigation getNavigation()
Description copied from interface: Fragment
Returns the navigational information linked with this fragment. The return value may be NULL, if no navigational information is defined.

Specified by:
getNavigation in interface Fragment
Returns:
the navigational information

setNavigation

public void setNavigation(Navigation navigation)
Description copied from interface: Fragment
binds navigational information to this fragment.

Specified by:
setNavigation in interface Fragment
Parameters:
navigation - the navigational information

getFragments

public java.util.Collection getFragments()
Description copied from interface: Fragment
Returns all fragments used in this node. This may be a page fragment or even directly a portlet fragment.

Specified by:
getFragments in interface Fragment
Returns:
a collection containing Fragment objects

getProperties

public java.util.Collection getProperties()
Description copied from interface: Fragment
Returns all properties describing this fragment. Only the implementation of the "classname" knows how to handle the properties

Specified by:
getProperties in interface Fragment
Returns:
a collection containing Property objects

setFragments

public void setFragments(java.util.Collection fragments)

build

public Fragment build(javax.servlet.ServletConfig config,
                      Fragment fragmentParent)
               throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int indent)


Copyright © 2003-2009 . All Rights Reserved.