UML for Component extension

We have component which consists of the following
XML: contains component definition like which JSP to be used, which Java class to be used etc.
Behavior class: Java class which is a part of the component
JSP: JSP part of the Component

This component will be extended from another component.

Can someone please let me know how to depict this in a UML diagram.