org.jomc.modlet
Class Schemas

Package class diagram package Schemas
java.lang.Object
  extended by org.jomc.modlet.ModletObject
      extended by org.jomc.modlet.Schemas
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-04-01T02:20:36+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class Schemas
extends ModletObject
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/modlet}ModletObject">
       <sequence>
         <element ref="{http://jomc.org/modlet}schema" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Schema> schema
           
 
Fields inherited from class org.jomc.modlet.ModletObject
MODEL_PUBLIC_ID, PUBLIC_ID
 
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)
          Deprecated. As of JOMC 1.2, replaced by method getSchemasByPublicId(java.net.URI). This method will be removed in version 2.0.
 Schema getSchemaBySystemId(String systemId)
          Gets a schema for a given system identifier from the list of schemas.
 List<Schema> getSchemasByPublicId(URI publicId)
          Gets a list of schemas for a given public identifier from the list of schemas.
 
Methods inherited from class org.jomc.modlet.ModletObject
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects
 
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="2012-04-01T02:20:36+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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="2012-04-01T02:20:36+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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="2012-04-01T02:20:36+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public Schemas clone()
Creates and returns a deep copy of this object.

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

getSchemaByPublicId

@Deprecated
public Schema getSchemaByPublicId(String publicId)
Deprecated. As of JOMC 1.2, replaced by method getSchemasByPublicId(java.net.URI). This method will be removed in version 2.0.

Gets a schema for a given public identifier from the list of schemas.

Parameters:
publicId - The public identifier of the schema to return.
Returns:
The first matching schema or null, if no such schema is found.
Throws:
NullPointerException - if publicId is null.
See Also:
getSchema(), Schema.getPublicId()

getSchemaBySystemId

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

Parameters:
systemId - The system identifier of the schema to return.
Returns:
The first matching schema or null, if no such schema is found.
Throws:
NullPointerException - if systemId is null.
See Also:
getSchema(), Schema.getSystemId()

getSchemasByPublicId

public List<Schema> getSchemasByPublicId(URI publicId)
Gets a list of schemas for a given public identifier from the list of schemas.

Parameters:
publicId - The public identifier of the schemas to return.
Returns:
An unmodifiable list of schemas matching publicId or an empty list, if no such schemas are found.
Throws:
NullPointerException - if publicId is null.
Since:
1.2
See Also:
getSchema(), Schema.getPublicIdUri()


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.