[jboss-svn-commits] JBoss Common SVN: r3816 - in jbossxb/trunk/src: main/java/org/jboss/xb/binding/sunday/unmarshalling and 4 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Dec 1 07:13:26 EST 2009


Author: alex.loubyansky at jboss.com
Date: 2009-12-01 07:13:25 -0500 (Tue, 01 Dec 2009)
New Revision: 3816

Added:
   jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/IntegerListAttribute.java
   jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/QualifierPoint.java
   jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/QualifierPointListAttribute.java
   jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/IntegerListUnitTestCase.java
   jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/QualifierPointListUnitTestCase.java
   jbossxb/trunk/src/test/resources/org/jboss/test/xb/builder/object/attribute/test/IntegerList.xml
   jbossxb/trunk/src/test/resources/org/jboss/test/xb/builder/object/attribute/test/QualifierPointList.xml
Modified:
   jbossxb/trunk/src/main/java/org/jboss/xb/binding/SimpleTypeBindings.java
   jbossxb/trunk/src/main/java/org/jboss/xb/binding/sunday/unmarshalling/CharactersHandler.java
   jbossxb/trunk/src/main/java/org/jboss/xb/builder/JBossXBNoSchemaBuilder.java
   jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/AbstractAttributeTest.java
Log:
JBXB-235

Modified: jbossxb/trunk/src/main/java/org/jboss/xb/binding/SimpleTypeBindings.java
===================================================================
--- jbossxb/trunk/src/main/java/org/jboss/xb/binding/SimpleTypeBindings.java	2009-11-30 20:45:28 UTC (rev 3815)
+++ jbossxb/trunk/src/main/java/org/jboss/xb/binding/SimpleTypeBindings.java	2009-12-01 12:13:25 UTC (rev 3816)
@@ -24,8 +24,6 @@
 import java.io.ByteArrayOutputStream;
 import java.io.Serializable;
 import java.io.UnsupportedEncodingException;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
 import java.math.BigDecimal;
 import java.math.BigInteger;
 import java.net.URISyntaxException;
@@ -42,6 +40,7 @@
 
 import org.jboss.logging.Logger;
 import org.jboss.util.Base64;
+import org.jboss.xb.binding.sunday.unmarshalling.ValueAdapter;
 
 
 /**
@@ -959,6 +958,20 @@
       return list;
    }
 
+   public static List<Object> unmarshalList(String itemType, String value, NamespaceContext nsCtx, ValueAdapter adapter)
+   {
+      StringTokenizer tokenizer = new StringTokenizer(value);
+      int total = tokenizer.countTokens();
+      List<Object> list = new ArrayList<Object>(total);
+      for(int i = 0; i < total; ++i)
+      {
+         Object o = unmarshal(itemType, tokenizer.nextToken(), nsCtx);
+         o = adapter.cast(o, null);
+         list.add(o);
+      }
+      return list;
+   }
+
    public static String marshalList(String itemType, List<?> value, NamespaceContext nsCtx)
    {
       StringBuffer buf = new StringBuffer();

Modified: jbossxb/trunk/src/main/java/org/jboss/xb/binding/sunday/unmarshalling/CharactersHandler.java
===================================================================
--- jbossxb/trunk/src/main/java/org/jboss/xb/binding/sunday/unmarshalling/CharactersHandler.java	2009-11-30 20:45:28 UTC (rev 3815)
+++ jbossxb/trunk/src/main/java/org/jboss/xb/binding/sunday/unmarshalling/CharactersHandler.java	2009-12-01 12:13:25 UTC (rev 3816)
@@ -80,34 +80,39 @@
       if(itemType != null)
       {
          QName itemTypeQName = itemType.getQName();
-         if(itemTypeQName != null && Constants.NS_XML_SCHEMA.equals(itemTypeQName.getNamespaceURI()))
+         ValueAdapter adapter = itemType.getValueAdapter();
+         
+         if(itemTypeQName == null || !Constants.NS_XML_SCHEMA.equals(itemTypeQName.getNamespaceURI()))
          {
-            List<?> list = SimpleTypeBindings.unmarshalList(itemTypeQName.getLocalPart(), value, nsCtx);
-            if(typeBinding.getSchemaBinding().isUnmarshalListsToArrays())
+            if(adapter == null)
+               throw new JBossXBRuntimeException(
+                     "Only list types with item type from " + Constants.NS_XML_SCHEMA +
+                     " namespace are supported currently."
+                  );
+            else
+               itemTypeQName = Constants.QNAME_STRING;
+         }
+         
+         if(adapter == null)
+            adapter = ValueAdapter.NOOP;
+
+         List<?> list = SimpleTypeBindings.unmarshalList(itemTypeQName.getLocalPart(), value, nsCtx, adapter);
+         if (typeBinding.getSchemaBinding().isUnmarshalListsToArrays())
+         {
+            if (list.isEmpty())
             {
-               if(list.isEmpty())
-               {
-                  Class<?> compType = SimpleTypeBindings.classForType(itemTypeQName.getLocalPart(), true);
-                  o = Array.newInstance(compType, 0);
-               }
-               else
-               {
-                  Class<?> compType = list.get(0).getClass();
-                  o = list.toArray((Object[])Array.newInstance(compType, list.size()));
-               }
+               Class<?> compType = SimpleTypeBindings.classForType(itemTypeQName.getLocalPart(), true);
+               o = Array.newInstance(compType, 0);
             }
             else
             {
-               o = list;
+               Class<?> compType = list.get(0).getClass();
+               o = list.toArray((Object[]) Array.newInstance(compType, list.size()));
             }
          }
          else
          {
-            // todo
-            throw new JBossXBRuntimeException(
-               "Only list types with item type from " + Constants.NS_XML_SCHEMA +
-               " namespace are supported currently."
-            );
+            o = list;
          }
       }
       else if(typeQName != null && Constants.NS_XML_SCHEMA.equals(typeQName.getNamespaceURI()))

Modified: jbossxb/trunk/src/main/java/org/jboss/xb/builder/JBossXBNoSchemaBuilder.java
===================================================================
--- jbossxb/trunk/src/main/java/org/jboss/xb/builder/JBossXBNoSchemaBuilder.java	2009-11-30 20:45:28 UTC (rev 3815)
+++ jbossxb/trunk/src/main/java/org/jboss/xb/builder/JBossXBNoSchemaBuilder.java	2009-12-01 12:13:25 UTC (rev 3816)
@@ -112,6 +112,7 @@
 import org.jboss.xb.binding.sunday.unmarshalling.RepeatableParticleHandler;
 import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
 import org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.SimpleTypeBinding;
 import org.jboss.xb.binding.sunday.unmarshalling.TypeBinding;
 import org.jboss.xb.binding.sunday.unmarshalling.UnorderedSequenceBinding;
 import org.jboss.xb.binding.sunday.unmarshalling.ValueAdapter;
@@ -960,8 +961,19 @@
                if (jbossXmlAttribute != null && jbossXmlAttribute.type() != Object.class)
                   attributeTypeInfo = attributeTypeInfo.getTypeInfoFactory().getTypeInfo(jbossXmlAttribute.type());
                TypeBinding attributeType = resolveTypeBinding(attributeTypeInfo);
+               
                // Create the attribute handler
-               AttributeHandler attributeHandler = new PropertyHandler(property, attributeTypeInfo);
+               AttributeHandler attributeHandler = null;
+               if(attributeTypeInfo.isCollection() || attributeTypeInfo.isArray())
+               {
+                  TypeBinding itemType = attributeType;
+                  attributeType = new SimpleTypeBinding(null);
+                  attributeType.setSchemaBinding(schemaBinding);
+                  attributeType.setItemType(itemType);
+               }
+
+               attributeHandler = new PropertyHandler(property, attributeTypeInfo);
+               
                // Create the attributre and bind it to the type
                AttributeBinding attribute = new AttributeBinding(schemaBinding, qName, attributeType, attributeHandler);
                attribute.setRequired(xmlAttribute.required());

Added: jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/IntegerListAttribute.java
===================================================================
--- jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/IntegerListAttribute.java	                        (rev 0)
+++ jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/IntegerListAttribute.java	2009-12-01 12:13:25 UTC (rev 3816)
@@ -0,0 +1,48 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., 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.test.xb.builder.object.attribute.support;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ * IntegerListAttribute.
+ * 
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class IntegerListAttribute extends SimpleAttribute<List<Integer>>
+{
+   @Override
+   @XmlAttribute
+   public List<Integer> getAttribute()
+   {
+      return super.getAttribute();
+   }
+
+   @Override
+   public void setAttribute(List<Integer> attribute)
+   {
+      super.setAttribute(attribute);
+   }
+}

Added: jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/QualifierPoint.java
===================================================================
--- jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/QualifierPoint.java	                        (rev 0)
+++ jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/QualifierPoint.java	2009-12-01 12:13:25 UTC (rev 3816)
@@ -0,0 +1,37 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2009, JBoss Inc., 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.test.xb.builder.object.attribute.support;
+
+import javax.xml.bind.annotation.XmlEnumValue;
+
+/**
+ * A QualifierPoint.
+ * 
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public enum QualifierPoint
+{
+   @XmlEnumValue("Constructor") CONSTRUCTOR,
+   @XmlEnumValue("Method") METHOD,
+   @XmlEnumValue("Property") PROPERTY
+}

Added: jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/QualifierPointListAttribute.java
===================================================================
--- jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/QualifierPointListAttribute.java	                        (rev 0)
+++ jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/support/QualifierPointListAttribute.java	2009-12-01 12:13:25 UTC (rev 3816)
@@ -0,0 +1,48 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., 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.test.xb.builder.object.attribute.support;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ * IntegerListAttribute.
+ * 
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class QualifierPointListAttribute extends SimpleAttribute<List<QualifierPoint>>
+{
+   @Override
+   @XmlAttribute
+   public List<QualifierPoint> getAttribute()
+   {
+      return super.getAttribute();
+   }
+
+   @Override
+   public void setAttribute(List<QualifierPoint> attribute)
+   {
+      super.setAttribute(attribute);
+   }
+}

Modified: jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/AbstractAttributeTest.java
===================================================================
--- jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/AbstractAttributeTest.java	2009-11-30 20:45:28 UTC (rev 3815)
+++ jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/AbstractAttributeTest.java	2009-12-01 12:13:25 UTC (rev 3816)
@@ -43,10 +43,10 @@
 public abstract class AbstractAttributeTest<T> extends AbstractBuilderTest
 {
    /** The root class */
-   private Class<?> root;
+   protected Class<?> root;
 
    /** The expected value */
-   private T expected;
+   protected T expected;
    
    public AbstractAttributeTest(String name, Class<?> root, T expected)
    {

Added: jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/IntegerListUnitTestCase.java
===================================================================
--- jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/IntegerListUnitTestCase.java	                        (rev 0)
+++ jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/IntegerListUnitTestCase.java	2009-12-01 12:13:25 UTC (rev 3816)
@@ -0,0 +1,81 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., 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.test.xb.builder.object.attribute.test;
+
+import java.util.Arrays;
+import java.util.List;
+
+import javax.xml.XMLConstants;
+import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+
+import org.jboss.test.xb.builder.object.attribute.support.IntegerListAttribute;
+import org.jboss.xb.binding.SimpleTypeBindings;
+import org.jboss.xb.binding.sunday.unmarshalling.AttributeBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.TypeBinding;
+import org.jboss.xb.builder.JBossXBBuilder;
+
+/**
+ * IntegerListUnitTestCase.
+ * 
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class IntegerListUnitTestCase extends AbstractAttributeTest<List<Integer>>
+{
+   public static Test suite()
+   {
+      return suite(IntegerListUnitTestCase.class);
+   }
+   
+   public IntegerListUnitTestCase(String name)
+   {
+      super(name, IntegerListAttribute.class, Arrays.asList(new Integer[]{new Integer(3), new Integer(2), new Integer(4)}));
+   }
+   
+   @Override
+   public void testSimpleAttribute() throws Exception
+   {
+      SchemaBinding schemaBinding = JBossXBBuilder.build(root);
+      assertNotNull(schemaBinding);
+
+      QName qName = SimpleTypeBindings.typeQName(Integer.class);
+      assertNotNull(qName);
+      TypeBinding expectedItemType = schemaBinding.getType(qName);
+      
+      QName elementName = new QName(XMLConstants.NULL_NS_URI, JBossXBBuilder.generateXMLNameFromJavaName(root.getSimpleName(), true, true));
+      ElementBinding elementBinding = schemaBinding.getElement(elementName);
+      assertNotNull(elementBinding);
+      TypeBinding typeBinding = elementBinding.getType();
+      assertNotNull(typeBinding);
+      QName attributeName = new QName(XMLConstants.NULL_NS_URI, "attribute");
+      AttributeBinding attribute = typeBinding.getAttribute(attributeName);
+      assertNotNull(attribute);
+      TypeBinding attributeType = attribute.getType();
+      TypeBinding itemType = attributeType.getItemType();
+      assertNotNull(itemType);
+      assertTrue("Expected " + expectedItemType + " got " + itemType, expectedItemType == itemType);
+   }
+}

Added: jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/QualifierPointListUnitTestCase.java
===================================================================
--- jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/QualifierPointListUnitTestCase.java	                        (rev 0)
+++ jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/QualifierPointListUnitTestCase.java	2009-12-01 12:13:25 UTC (rev 3816)
@@ -0,0 +1,80 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., 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.test.xb.builder.object.attribute.test;
+
+import java.util.Arrays;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.xml.XMLConstants;
+import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+
+import org.jboss.test.xb.builder.object.attribute.support.IntegerListAttribute;
+import org.jboss.test.xb.builder.object.attribute.support.QualifierPoint;
+import org.jboss.test.xb.builder.object.attribute.support.QualifierPointListAttribute;
+import org.jboss.xb.binding.SimpleTypeBindings;
+import org.jboss.xb.binding.sunday.unmarshalling.AttributeBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.TypeBinding;
+import org.jboss.xb.builder.JBossXBBuilder;
+
+/**
+ * IntegerListUnitTestCase.
+ * 
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class QualifierPointListUnitTestCase extends AbstractAttributeTest<List<QualifierPoint>>
+{
+   public static Test suite()
+   {
+      return suite(QualifierPointListUnitTestCase.class);
+   }
+   
+   public QualifierPointListUnitTestCase(String name)
+   {
+      super(name, QualifierPointListAttribute.class, Arrays.asList(new QualifierPoint[]{QualifierPoint.METHOD, QualifierPoint.PROPERTY, QualifierPoint.CONSTRUCTOR}));
+   }
+   
+   @Override
+   public void testSimpleAttribute() throws Exception
+   {
+      SchemaBinding schemaBinding = JBossXBBuilder.build(root);
+      assertNotNull(schemaBinding);
+
+      QName elementName = new QName(XMLConstants.NULL_NS_URI, JBossXBBuilder.generateXMLNameFromJavaName(root.getSimpleName(), true, true));
+      ElementBinding elementBinding = schemaBinding.getElement(elementName);
+      assertNotNull(elementBinding);
+      TypeBinding typeBinding = elementBinding.getType();
+      assertNotNull(typeBinding);
+      QName attributeName = new QName(XMLConstants.NULL_NS_URI, "attribute");
+      AttributeBinding attribute = typeBinding.getAttribute(attributeName);
+      assertNotNull(attribute);
+      TypeBinding attributeType = attribute.getType();
+      TypeBinding itemType = attributeType.getItemType();
+      assertNotNull(itemType);
+      assertTrue(itemType.getValueAdapter() != null);
+   }
+}

Added: jbossxb/trunk/src/test/resources/org/jboss/test/xb/builder/object/attribute/test/IntegerList.xml
===================================================================
--- jbossxb/trunk/src/test/resources/org/jboss/test/xb/builder/object/attribute/test/IntegerList.xml	                        (rev 0)
+++ jbossxb/trunk/src/test/resources/org/jboss/test/xb/builder/object/attribute/test/IntegerList.xml	2009-12-01 12:13:25 UTC (rev 3816)
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<integer-list-attribute attribute="3 2 4"/>

Added: jbossxb/trunk/src/test/resources/org/jboss/test/xb/builder/object/attribute/test/QualifierPointList.xml
===================================================================
--- jbossxb/trunk/src/test/resources/org/jboss/test/xb/builder/object/attribute/test/QualifierPointList.xml	                        (rev 0)
+++ jbossxb/trunk/src/test/resources/org/jboss/test/xb/builder/object/attribute/test/QualifierPointList.xml	2009-12-01 12:13:25 UTC (rev 3816)
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<qualifier-point-list-attribute attribute="Method Property Constructor"/>



More information about the jboss-svn-commits mailing list