001    package com.hammurapi.render;
002    
003    
004    /**
005     * Objects which are not rendered independently but rather as part of
006     * a composite (e.g. language elements are rendered as part of source unit)
007     * shall be convertible to this interface
008     * @author Pavel Vlasov
009     *
010     */
011    public interface CompositePart {
012            
013                    
014            /**
015             * @return Composite which is rendered to its own file.
016             */
017            Object getComposite();
018            
019            /**
020             * @return Part's anchor within composite.
021             */
022            String getAnchor();
023            
024    }