|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.tools.model.ToolsType
@Generated(value="com.sun.tools.xjc.Driver", date="2012-05-23T02:54:23+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class ToolsType
Base tools type.
Java class for ToolsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ToolsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="modelVersion" type="{http://www.w3.org/2001/XMLSchema}string" default="1.2" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected String |
modelVersion
|
Constructor Summary | |
---|---|
ToolsType()
Creates a new ToolsType instance. |
|
ToolsType(ToolsType o)
Creates a new ToolsType instance by deeply copying a given ToolsType instance. |
Method Summary | ||
---|---|---|
ToolsType |
clone()
Creates and returns a deep copy of this object. |
|
protected
|
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
|
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
|
getAnyObject(List<Object> any,
Class<T> clazz)
Gets a single object matching a class from a given list of objects. |
|
protected
|
getAnyObjects(List<Object> any,
Class<T> clazz)
Gets a list containing all objects matching a class from a given list of objects. |
|
String |
getModelVersion()
Gets the value of the modelVersion property. |
|
void |
setModelVersion(String value)
Sets the value of the modelVersion property. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Generated(value="com.sun.tools.xjc.Driver", date="2012-05-23T02:54:23+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected String modelVersion
Constructor Detail |
---|
public ToolsType()
ToolsType
instance.
public ToolsType(ToolsType o)
ToolsType
instance by deeply copying a given ToolsType
instance.
o
- The instance to copy.
NullPointerException
- if o
is null
.Method Detail |
---|
@Generated(value="com.sun.tools.xjc.Driver", date="2012-05-23T02:54:23+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public String getModelVersion()
String
@Generated(value="com.sun.tools.xjc.Driver", date="2012-05-23T02:54:23+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public void setModelVersion(String value)
value
- allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver", date="2012-05-23T02:54:23+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public ToolsType clone()
clone
in class Object
protected <T> javax.xml.bind.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<javax.xml.bind.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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |