001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.ccpp;
016    
017    import java.util.Set;
018    
019    import javax.ccpp.Attribute;
020    import javax.ccpp.Component;
021    import javax.ccpp.Profile;
022    import javax.ccpp.ProfileDescription;
023    
024    /**
025     * @author Jorge Ferrer
026     */
027    public class EmptyProfile implements Profile {
028    
029            public Attribute getAttribute(String name) {
030                    return null;
031            }
032    
033            public Set<Attribute> getAttributes() {
034                    return null;
035            }
036    
037            public Component getComponent(String localtype) {
038                    return null;
039            }
040    
041            public Set<Component> getComponents() {
042                    return null;
043            }
044    
045            public ProfileDescription getDescription() {
046                    return null;
047            }
048    
049    }