Author: chris.laprun(a)jboss.com
Date: 2008-10-07 10:52:43 -0400 (Tue, 07 Oct 2008)
New Revision: 12043
Removed:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/metadata/coordination/CoordinationWindowBindingMetaData.java
Log:
- JBPORTAL-2147: Should have been removed.
Deleted:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/metadata/coordination/CoordinationWindowBindingMetaData.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/metadata/coordination/CoordinationWindowBindingMetaData.java 2008-10-07
10:23:57 UTC (rev 12042)
+++
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/metadata/coordination/CoordinationWindowBindingMetaData.java 2008-10-07
14:52:43 UTC (rev 12043)
@@ -1,83 +0,0 @@
-/*
-* JBoss, a division of Red Hat
-* Copyright 2006, Red Hat Middleware, LLC, and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software 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 software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
-*/
-
-package org.jboss.portal.core.model.portal.metadata.coordination;
-
-import org.w3c.dom.Element;
-import org.jboss.portal.common.xml.XMLTools;
-
-import java.util.List;
-import java.util.LinkedList;
-import java.util.Iterator;
-
-/**
- * @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot
com">Boleslaw Dawidowicz</a>
- * @version : 0.1 $
- */
-public class CoordinationWindowBindingMetaData
-{
- private String name;
-
- List<CoordinationWindowMultiQNameMetaData> windows = new
LinkedList<CoordinationWindowMultiQNameMetaData>();
-
- public CoordinationWindowBindingMetaData(String name)
- {
- this.name = name;
- }
-
- public List<CoordinationWindowMultiQNameMetaData> getWindows()
- {
- return windows;
- }
-
- public String getName()
- {
- return name;
- }
-
- public void setName(String name)
- {
- this.name = name;
- }
-
- private void addWindow(CoordinationWindowMultiQNameMetaData window)
- {
- windows.add(window);
- }
-
- public static CoordinationWindowBindingMetaData buildMetaData(Element bindingElement)
- {
- Element nameElt = XMLTools.getUniqueChild(bindingElement, "id", true);
- CoordinationWindowBindingMetaData paramMetaData = new
CoordinationWindowBindingMetaData(XMLTools.asString(nameElt));
-
- Iterator windowIter = XMLTools.getChildrenIterator(bindingElement,
"window-coordination");
-
- while (windowIter.hasNext())
- {
- Element element = (Element)windowIter.next();
-
-
paramMetaData.addWindow(CoordinationWindowMultiQNameMetaData.buildMetaData(element));
- }
-
- return paramMetaData;
- }
-}