Save This Page
Home » openjdk-7 » com.sun.xml.internal.messaging » saaj » soap » ver1_1 » [javadoc | source]
    1   /*
    2    * $Id: Detail1_1Impl.java,v 1.12 2006/01/27 12:49:40 vj135062 Exp $
    3    */
    4   
    5   /*
    6    * Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
    7    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    8    *
    9    * This code is free software; you can redistribute it and/or modify it
   10    * under the terms of the GNU General Public License version 2 only, as
   11    * published by the Free Software Foundation.  Sun designates this
   12    * particular file as subject to the "Classpath" exception as provided
   13    * by Sun in the LICENSE file that accompanied this code.
   14    *
   15    * This code is distributed in the hope that it will be useful, but WITHOUT
   16    * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
   17    * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
   18    * version 2 for more details (a copy is included in the LICENSE file that
   19    * accompanied this code).
   20    *
   21    * You should have received a copy of the GNU General Public License version
   22    * 2 along with this work; if not, write to the Free Software Foundation,
   23    * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
   24    *
   25    * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
   26    * CA 95054 USA or visit www.sun.com if you need additional information or
   27    * have any questions.
   28    */
   29   
   30   /**
   31   *
   32   * @author SAAJ RI Development Team
   33   */
   34   package com.sun.xml.internal.messaging.saaj.soap.ver1_1;
   35   
   36   import javax.xml.namespace.QName;
   37   import javax.xml.soap.DetailEntry;
   38   import javax.xml.soap.Name;
   39   
   40   import com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl;
   41   import com.sun.xml.internal.messaging.saaj.soap.impl.DetailImpl;
   42   import com.sun.xml.internal.messaging.saaj.soap.name.NameImpl;
   43   
   44   public class Detail1_1Impl extends DetailImpl {
   45   
   46       public Detail1_1Impl(SOAPDocumentImpl ownerDoc, String prefix) {
   47           super(ownerDoc, NameImpl.createDetail1_1Name(prefix));
   48       }
   49       public Detail1_1Impl(SOAPDocumentImpl ownerDoc) {
   50           super(ownerDoc, NameImpl.createDetail1_1Name());
   51       }
   52       protected DetailEntry createDetailEntry(Name name) {
   53           return new DetailEntry1_1Impl(
   54               (SOAPDocumentImpl) getOwnerDocument(),
   55               name);
   56       }
   57       protected DetailEntry createDetailEntry(QName name) {
   58           return new DetailEntry1_1Impl(
   59               (SOAPDocumentImpl) getOwnerDocument(),
   60               name);
   61       }
   62   
   63   }

Save This Page
Home » openjdk-7 » com.sun.xml.internal.messaging » saaj » soap » ver1_1 » [javadoc | source]