|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2003 Sun * Microsystems, Inc. All Rights Reserved. */ /** * Superclass that implements DescriptionInterface for Servlet2.4 beans. * * @author Milan Kuchtiak */ package org.netbeans.modules.web.dd.impl.common; import org.netbeans.modules.schema2beans.BaseBean; import org.netbeans.modules.schema2beans.Version; import org.netbeans.api.web.dd.common.*; public abstract class DescriptionBeanMultiple extends EnclosingBean implements DescriptionInterface { public DescriptionBeanMultiple(java.util.Vector comps, Version version) { super(comps, version); } // methods implemented by specific s2b beans public void setDescription(int index, java.lang.String value){} public String getDescription(int index){return null;} public void setDescription(java.lang.String[] value){} //public abstract java.lang.String[] getDescription(); public int sizeDescription(){return 0;} public int addDescription(java.lang.String value){return 0;} //public abstract int removeDescription(java.lang.String value); public void setDescriptionXmlLang(int index, java.lang.String value){} public String getDescriptionXmlLang(int index){return null;} public void setDescription(String locale, String description) throws VersionNotSupportedException { if (description==null) removeDescriptionForLocale(locale); else { int size = sizeDescription(); boolean found=false; for (int i=0;i |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.