Apache CXF API

org.apache.cxf.configuration.types
Class ClassNamespaceMappingType

java.lang.Object
  extended by org.apache.cxf.configuration.types.ClassNamespaceMappingType

public class ClassNamespaceMappingType
extends java.lang.Object

Java class for classNamespaceMappingType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="classNamespaceMappingType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="classname" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <sequence>
           <element name="namespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/>
         </sequence>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String classname
           
protected  java.util.List<java.lang.String> namespace
           
 
Constructor Summary
ClassNamespaceMappingType()
           
 
Method Summary
 java.lang.String getClassname()
          Gets the value of the classname property.
 java.util.List<java.lang.String> getNamespace()
          Gets the value of the namespace property.
 void setClassname(java.lang.String value)
          Sets the value of the classname property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classname

protected java.lang.String classname

namespace

protected java.util.List<java.lang.String> namespace
Constructor Detail

ClassNamespaceMappingType

public ClassNamespaceMappingType()
Method Detail

getClassname

public java.lang.String getClassname()
Gets the value of the classname property.

Returns:
possible object is String

setClassname

public void setClassname(java.lang.String value)
Sets the value of the classname property.

Parameters:
value - allowed object is String

getNamespace

public java.util.List<java.lang.String> getNamespace()
Gets the value of the namespace property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the namespace property.

For example, to add a new item, do as follows:

    getNamespace().add(newItem);
 

Objects of the following type(s) are allowed in the list String


Apache CXF API

-