Author: scabanovich
Date: 2009-09-25 10:06:00 -0400 (Fri, 25 Sep 2009)
New Revision: 17741
Removed:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/jst/web/tld/TaglibData.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4913
Deleted:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/jst/web/tld/TaglibData.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/jst/web/tld/TaglibData.java 2009-09-25
13:45:58 UTC (rev 17740)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/jst/web/tld/TaglibData.java 2009-09-25
14:06:00 UTC (rev 17741)
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at
http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jst.web.tld;
-
-import java.util.Iterator;
-import java.util.List;
-
-public class TaglibData {
- private int id;
- private String uri;
- private String prefix;
- private boolean ns;
-
- public TaglibData(int id, String uri, String prefix, boolean ns) {
- this.id = id;
- this.uri = uri;
- this.prefix = prefix;
- this.ns = ns;
- }
-
- public TaglibData(int id, String uri, String prefix) {
- this.id = id;
- this.uri = uri;
- this.prefix = prefix;
- this.ns = true;
- }
-
- public int getId() {
- return id;
- }
-
- public String getUri() {
- return uri;
- }
-
- public String getPrefix() {
- return prefix;
- }
-
- public boolean isNs() {
- return ns;
- }
-
- public boolean isEquals(TaglibData another) {
- return this == another ||
- uri.equals(another.getUri()) && prefix.equals(another.getPrefix());
- }
-
- public boolean inList(List taglibs) {
- if (taglibs == null) {
- return false;
- }
- Iterator iter = taglibs.iterator();
- while (iter.hasNext()) {
- if (isEquals((TaglibData)iter.next())) {
- return true;
- }
- }
- return false;
- }
-}
\ No newline at end of file