org.xmlhammer.model.jaxp
Class Mappings

java.lang.Object
  extended by org.xmlhammer.model.jaxp.Mappings

public class Mappings
extends java.lang.Object

Java class for mappings element declaration.

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

 <element name="mappings">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <sequence maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://www.xmlhammer.org/2007/jaxp}mapping"/>
         </sequence>
       </restriction>
     </complexContent>
   </complexType>
 </element>
 


Field Summary
protected  java.util.List<Mapping> mapping
           
 
Constructor Summary
Mappings()
           
 
Method Summary
 java.util.List<Mapping> getMapping()
          Gets the value of the mapping property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapping

protected java.util.List<Mapping> mapping
Constructor Detail

Mappings

public Mappings()
Method Detail

getMapping

public java.util.List<Mapping> getMapping()
Gets the value of the mapping 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 mapping property.

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

    getMapping().add(newItem);
 

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



Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.