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-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class Schemas
extends BootstrapObject
implements Cloneable

List of schemas.

Java class for Schemas complex type.

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

 <complexType name="Schemas">
   <complexContent>
     <extension base="{http://jomc.org/model/bootstrap}BootstrapObject">
       <sequence>
         <element ref="{http://jomc.org/model/bootstrap}schema" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


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 Schemas instance.
 
Method Summary
 Schemas clone()
          Creates and returns a deep copy of this object.
 List<Schema> getSchema()
          Gets the value of the schema property.
 Schema getSchemaByPublicId(String publicId)
          Gets a schema for a given public identifier from this list of schemas.
 Schema getSchemaBySystemId(String systemId)
          Gets a schema for a given system identifier 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-12-07T03:06:36+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 Schemas instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getSchema

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+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


clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+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.

getSchemaByPublicId

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

Parameters:
publicId - The public identifier of the schema to return.
Returns:
The schema with public identifier publicId from the list or null if no schema matching publicId is found.
Throws:
NullPointerException - if publicId is null.
See Also:
getSchema()

getSchemaBySystemId

public Schema getSchemaBySystemId(String systemId)
Gets a schema for a given system identifier from this list of schemas.

Parameters:
systemId - The system identifier of the schema to return.
Returns:
The schema with system identifier systemId from the list or null if no schema matching systemId is found.
Throws:
NullPointerException - if systemId is null.
See Also:
getSchema()


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