1 /* 2 * Copyright 2006 Ralf Joachim 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 5 * in compliance with the License. You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 11 * or implied. See the License for the specific language governing permissions and limitations under 12 * the License. 13 */ 14 package org.exolab.castor.xml.util; 15 16 import org.exolab.castor.mapping.MappingException; 17 import org.exolab.castor.xml.NodeType; 18 19 /** 20 * @author <a href="mailto:ralf DOT joachim AT syscon DOT eu">Ralf Joachim</a> 21 * @version $Revision: 5951 $ $Date: 2005-12-06 14:55:28 -0700 (Tue, 06 Dec 2005) $ 22 */ 23 public class XMLContainerElementFieldDescriptor extends XMLFieldDescriptorImpl { 24 25 public XMLContainerElementFieldDescriptor(final XMLFieldDescriptorImpl fieldDesc, 26 final NodeType primitiveNodeType) throws MappingException { 27 super(fieldDesc, fieldDesc.getXMLName(), fieldDesc.getNodeType(), primitiveNodeType); 28 29 setFieldType(org.exolab.castor.xml.util.ContainerElement.class); 30 31 setNameSpaceURI(fieldDesc.getNameSpaceURI()); 32 setNameSpacePrefix(fieldDesc.getNameSpacePrefix()); 33 // setQNamePrefix(fieldDesc.getQNamePrefix()); 34 } 35 }