Author: alexsmirnov
Date: 2010-05-10 20:02:58 -0400 (Mon, 10 May 2010)
New Revision: 16981
Removed:
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/TagLibrary.java
Modified:
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/ComponentLibrary.java
Log:
CODING IN PROGRESS - issue RF-7736: Library model verifier.
https://jira.jboss.org/jira/browse/RF-7736
Modified:
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/ComponentLibrary.java
===================================================================
---
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/ComponentLibrary.java 2010-05-10
23:48:39 UTC (rev 16980)
+++
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/ComponentLibrary.java 2010-05-11
00:02:58 UTC (rev 16981)
@@ -91,18 +91,10 @@
/**
* <p class="changed_added_4_0">
- * Tag library with references of all used tags
* </p>
- */
- private final TagLibrary tagLibrary;
-
- /**
- * <p class="changed_added_4_0">
- * </p>
*
*/
public ComponentLibrary() {
- this.tagLibrary = new TagLibrary();
}
public void accept(Visitor visitor) {
@@ -286,18 +278,6 @@
* <p class="changed_added_4_0">
* </p>
*
- * @return the tagLibrary
- */
- public TagLibrary getTagLibrary() {
- return tagLibrary;
- }
-
- // Utility methods.
-
- /**
- * <p class="changed_added_4_0">
- * </p>
- *
* @return the extension
*/
public ConfigExtension getExtension() {
Deleted:
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/TagLibrary.java
===================================================================
---
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/TagLibrary.java 2010-05-10
23:48:39 UTC (rev 16980)
+++
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/TagLibrary.java 2010-05-11
00:02:58 UTC (rev 16981)
@@ -1,84 +0,0 @@
-/*
- * $Id$
- *
- * License Agreement.
- *
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.cdk.model;
-
-import java.io.Serializable;
-import java.net.URI;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p class="changed_added_4_0">That bean represents whole tag
library.</p>
- *
- * @author asmirnov(a)exadel.com
- */
-public class TagLibrary implements Serializable {
-
- private static final long serialVersionUID = -3508492744326729833L;
-
- /**
- * <p class="changed_added_4_0">Collection of tags associated with
that library</p>
- */
- private final List<TagModel> tags = new ArrayList<TagModel>();
-
- private String shortName;
-
- private URI uri;
- /**
- * <p class="changed_added_4_0"></p>
- *
- * @return the tags
- */
- public List<TagModel> getTags() {
- return tags;
- }
- /**
- * <p class="changed_added_4_0"></p>
- * @return the shortName
- */
- public String getShortName() {
- return this.shortName;
- }
- /**
- * <p class="changed_added_4_0"></p>
- * @param shortName the shortName to set
- */
- public void setShortName(String shortName) {
- this.shortName = shortName;
- }
- /**
- * <p class="changed_added_4_0"></p>
- * @return the uri
- */
- public URI getUri() {
- return this.uri;
- }
- /**
- * <p class="changed_added_4_0"></p>
- * @param uri the uri to set
- */
- public void setUri(URI uri) {
- this.uri = uri;
- }
-}