@Generated(value="com.sun.tools.xjc.Driver", date="2014-11-18T06:51:51+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class Schemas extends ModletObject implements Cloneable
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>
Modifier and Type | Field and Description |
---|---|
protected List<Schema> |
schema |
MODEL_PUBLIC_ID, PUBLIC_ID
Constructor and Description |
---|
Schemas()
Creates a new
Schemas instance. |
Schemas(Schemas o)
Creates a new
Schemas instance by deeply copying a given Schemas instance. |
Modifier and Type | Method and Description |
---|---|
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 the list of schemas.
|
Schema |
getSchemaBySystemId(String systemId)
Gets a schema for a given system identifier from the list of schemas.
|
List<Schema> |
getSchemasByPublicId(URI publicId)
Deprecated.
As of JOMC 1.8, removed without replacement. This method will be removed in JOMC 2.0.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects
public Schemas()
Schemas
instance.public Schemas(Schemas o)
Schemas
instance by deeply copying a given Schemas
instance.o
- The instance to copy.NullPointerException
- if o
is null
.@Generated(value="com.sun.tools.xjc.Driver", date="2014-11-18T06:51:51+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public List<Schema> getSchema()
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
@Generated(value="com.sun.tools.xjc.Driver", date="2014-11-18T06:51:51+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public Schemas clone()
clone
in class ModletObject
public Schema getSchemaByPublicId(String publicId)
publicId
- The public identifier of the schema to return.null
, if no such schema is found.NullPointerException
- if publicId
is null
.getSchema()
,
Schema.getPublicId()
public Schema getSchemaBySystemId(String systemId)
systemId
- The system identifier of the schema to return.null
, if no such schema is found.NullPointerException
- if systemId
is null
.getSchema()
,
Schema.getSystemId()
@Deprecated public List<Schema> getSchemasByPublicId(URI publicId)
publicId
- The public identifier of the schemas to return.publicId
or an empty list, if no such schemas are found.NullPointerException
- if publicId
is null
.getSchema()
,
Schema.getPublicIdUri()
Copyright © 2005–2014 The JOMC Project. All rights reserved.