@Generated(value="com.sun.tools.xjc.Driver", date="2013-01-04T08:53:46+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class ModletObject extends Object implements Cloneable
Java class for ModletObject complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ModletObject"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static String |
MODEL_PUBLIC_ID
Public identifier of the modlet model.
|
static URI |
PUBLIC_ID
Public identifier of the modlet schema.
|
Constructor and Description |
---|
ModletObject()
Creates a new
ModletObject instance. |
ModletObject(ModletObject o)
Creates a new
ModletObject instance by deeply copying a given ModletObject instance. |
Modifier and Type | Method and Description |
---|---|
ModletObject |
clone()
Creates and returns a deep copy of this object.
|
protected JAXBElement |
getAnyElement(List<Object> any,
String namespaceURI,
String localPart)
Deprecated.
As of JOMC 1.1, please use method
getAnyElement(java.util.List, java.lang.String, java.lang.String, java.lang.Class) .
This method will be removed in version 2.0. |
protected <T> JAXBElement<T> |
getAnyElement(List<Object> any,
String namespaceURI,
String localPart,
Class<T> type)
Gets a single
JAXBElement matching a namespace URI and local part from a given list of objects. |
protected List<JAXBElement> |
getAnyElements(List<Object> any,
String namespaceURI,
String localPart)
Deprecated.
As of JOMC 1.1, please use method
getAnyElements(java.util.List, java.lang.String, java.lang.String, java.lang.Class) .
This method will be removed in version 2.0. |
protected <T> List<JAXBElement<T>> |
getAnyElements(List<Object> any,
String namespaceURI,
String localPart,
Class<T> type)
Gets a list containing all
JAXBElement s matching a namespace URI and local part from a given list of
objects. |
protected <T> T |
getAnyObject(List<Object> any,
Class<T> clazz)
Gets a single object matching a class from a given list of objects.
|
protected <T> List<T> |
getAnyObjects(List<Object> any,
Class<T> clazz)
Gets a list containing all objects matching a class from a given list of objects.
|
public static final String MODEL_PUBLIC_ID
public ModletObject()
ModletObject
instance.public ModletObject(ModletObject o)
ModletObject
instance by deeply copying a given ModletObject
instance.o
- The instance to copy.NullPointerException
- if o
is null
.@Generated(value="com.sun.tools.xjc.Driver", date="2013-01-04T08:53:46+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public ModletObject clone()
@Deprecated protected JAXBElement getAnyElement(List<Object> any, String namespaceURI, String localPart)
getAnyElement(java.util.List, java.lang.String, java.lang.String, java.lang.Class)
.
This method will be removed in version 2.0.JAXBElement
matching a namespace URI and local part from a given list of objects.any
- The list to search.namespaceURI
- The namespace URI of the JAXBElement
to return.localPart
- The local part of the JAXBElement
to return.JAXBElement
matching namespaceURI
and localPart
from the any
list or
null
if no such element is found.NullPointerException
- if any
, namespaceURI
or localPart
is null
.IllegalStateException
- if any
contains more than one matching element.@Deprecated protected List<JAXBElement> getAnyElements(List<Object> any, String namespaceURI, String localPart)
getAnyElements(java.util.List, java.lang.String, java.lang.String, java.lang.Class)
.
This method will be removed in version 2.0.JAXBElement
s matching a namespace URI and local part from a given list of
objects.any
- The list to search.namespaceURI
- The namespace URI of the JAXBElement
s to return.localPart
- The local part of the JAXBElement
s to return.JAXBElement
s matching namespaceURI
and localPart
from
the any
list - an empty list if no such elements are found.NullPointerException
- if any
, namespaceURI
or localPart
is null
.protected <T> JAXBElement<T> getAnyElement(List<Object> any, String namespaceURI, String localPart, Class<T> type)
JAXBElement
matching a namespace URI and local part from a given list of objects.T
- The type the element is bound to.any
- The list to search.namespaceURI
- The namespace URI of the JAXBElement
to return.localPart
- The local part of the JAXBElement
to return.type
- The class of the type the element is bound to.JAXBElement
matching namespaceURI
and localPart
from the any
list or
null
if no such element is found.NullPointerException
- if any
, namespaceURI
, localPart
or type
is
null
.IllegalStateException
- if any
contains more than one matching element.protected <T> List<JAXBElement<T>> getAnyElements(List<Object> any, String namespaceURI, String localPart, Class<T> type)
JAXBElement
s matching a namespace URI and local part from a given list of
objects.T
- The type the elements are bound to.any
- The list to search.namespaceURI
- The namespace URI of the JAXBElement
s to return.localPart
- The local part of the JAXBElement
s to return.type
- The class of the type the elements are bound to.JAXBElement
s matching namespaceURI
and localPart
from
the any
list - an empty list if no such elements are found.NullPointerException
- if any
, namespaceURI
, localPart
or type
is
null
.protected <T> T getAnyObject(List<Object> any, Class<T> clazz)
T
- The type of the object to return.any
- The list to search.clazz
- The class to return an instance of.clazz
from the any
list or null
, if no such instance is found.NullPointerException
- if any
or clazz
is null
.IllegalStateException
- if any
contains more than one matching object.protected <T> List<T> getAnyObjects(List<Object> any, Class<T> clazz)
T
- The type of the objects to return.any
- The list to search.clazz
- The class to return all instances of.clazz
from the any
list - an empty list if no
such objects are found.NullPointerException
- if any
or clazz
is null
.Copyright © 2005-2013 The JOMC Project. All Rights Reserved.