org.eclipse.birt.report.model.api.ContentElementHandle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.eclipse.birt.runtime Show documentation
Show all versions of org.eclipse.birt.runtime Show documentation
A component of the BIRT runtime
/**
*
*/
package org.eclipse.birt.report.model.api;
import java.util.Collections;
import java.util.Iterator;
import org.eclipse.birt.report.model.api.activity.SemanticException;
import org.eclipse.birt.report.model.api.command.ExtendsException;
import org.eclipse.birt.report.model.api.command.NameException;
import org.eclipse.birt.report.model.api.command.StyleException;
import org.eclipse.birt.report.model.api.core.Listener;
import org.eclipse.birt.report.model.core.DesignElement;
import org.eclipse.birt.report.model.core.Module;
/**
*
*
*/
public abstract class ContentElementHandle extends DesignElementHandle
{
/**
* The target report element.
*/
protected DesignElement element;
/**
* Constructs the handle for a report element with the given design and
* element. The application generally does not create handles directly.
* Instead, it uses one of the navigation methods available on other element
* handles.
*
* @param module
* the module
* @param element
* the model representation of the element
*/
public ContentElementHandle( Module module, DesignElement element )
{
super( module );
assert element != null;
this.element = element;
}
// Implementation of an abstract method in the base class.
public final DesignElement getElement( )
{
return element;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#addListener(org
* .eclipse.birt.report.model.api.core.Listener)
*/
public final void addListener( Listener obj )
{
}
/*
* (non-Javadoc)
*
* @seeorg.eclipse.birt.report.model.api.DesignElementHandle#
* isTemplateParameterValue()
*/
public final boolean isTemplateParameterValue( )
{
return false;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.birt.report.model.api.DesignElementHandle#localize()
*/
public final void localize( ) throws SemanticException
{
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#removeListener(
* org.eclipse.birt.report.model.api.core.Listener)
*/
public final void removeListener( Listener obj )
{
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#revertToReportItem
* ()
*/
public final void revertToReportItem( ) throws SemanticException
{
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#revertToTemplate
* (java.lang.String)
*/
public final TemplateElementHandle revertToTemplate( String name )
throws SemanticException
{
return null;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#canTransformToTemplate
* ()
*/
public final boolean canTransformToTemplate( )
{
return false;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#clientsIterator()
*/
public final Iterator clientsIterator( )
{
return Collections.EMPTY_LIST.iterator( );
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#createTemplateElement
* (java.lang.String)
*/
public final TemplateElementHandle createTemplateElement( String name )
throws SemanticException
{
return null;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#derivedIterator()
*/
public final Iterator derivedIterator( )
{
return Collections.EMPTY_LIST.iterator( );
}
/*
* (non-Javadoc)
*
* @see org.eclipse.birt.report.model.api.DesignElementHandle#getName()
*/
public String getName( )
{
return null;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#getPrivateStyle()
*/
public final StyleHandle getPrivateStyle( )
{
return null;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#getQualifiedName()
*/
public final String getQualifiedName( )
{
return null;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#setEventHandlerClass
* (java.lang.String)
*/
public final void setEventHandlerClass( String expr )
throws SemanticException
{
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#setExtends(org.
* eclipse.birt.report.model.api.DesignElementHandle)
*/
public final void setExtends( DesignElementHandle parent )
throws ExtendsException
{
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#setExtendsName(
* java.lang.String)
*/
public final void setExtendsName( String name ) throws ExtendsException
{
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#setName(java.lang
* .String)
*/
public void setName( String name ) throws NameException
{
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#getEventHandlerClass
* ()
*/
public String getEventHandlerClass( )
{
return null;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.birt.report.model.api.DesignElementHandle#getExtends()
*/
public DesignElementHandle getExtends( )
{
return null;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#setStyle(org.eclipse
* .birt.report.model.api.SharedStyleHandle)
*/
public void setStyle( SharedStyleHandle style ) throws StyleException
{
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.birt.report.model.api.DesignElementHandle#setStyleName(java
* .lang.String)
*/
public void setStyleName( String name ) throws StyleException
{
}
}