org.jomc.model.bootstrap
Class Schemas

Package class diagram package Schemas
java.lang.Object
  extended by org.jomc.model.bootstrap.BootstrapObject
      extended by org.jomc.model.bootstrap.Schemas
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-09-21T10:35:38+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class Schemas
extends BootstrapObject
implements Cloneable

List of schemas.

See Also:
Schema

Field Summary
protected  List<Schema> schema
           
 
Constructor Summary
Schemas()
          Creates a new Schemas instance.
Schemas(Schemas o)
          Creates a new Schemas instance by deeply copying a given instance.
 
Method Summary
 Schemas clone()
          Creates and returns a deep copy of this object.
private static void copySchema(List<Schema> source, List<Schema> target)
          Copies all values of property Schema deeply.
 List<Schema> getSchema()
          Gets the value of the schema property.
 Schema getSchema(String publicId)
          Gets a schema for a given public id from this list of schemas.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schema

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-09-21T10:35:38+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Schema> schema
Constructor Detail

Schemas

public Schemas()
Creates a new Schemas instance.


Schemas

public Schemas(Schemas o)
Creates a new Schemas instance by deeply copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getSchema

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-09-21T10:35:38+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public List<Schema> getSchema()
Gets the value of the schema 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 schema property.

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

    getSchema().add(newItem);
 

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


copySchema

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-09-21T10:35:38+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copySchema(List<Schema> source,
                                                          List<Schema> target)
Copies all values of property Schema deeply.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-09-21T10:35:38+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Schemas clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class BootstrapObject
Returns:
A deep copy of this object.

getSchema

public Schema getSchema(String publicId)
Gets a schema for a given public id from this list of schemas.

Parameters:
publicId - The public id of the schema to return.
Returns:
The schema with public id publicId from the list or null if no schema matching publicId is found.
Throws:
NullPointerException - if publicId is null.


Copyright © 2005-2009 The JOMC Project. All Rights Reserved.