public class Global extends Object implements Serializable
Constructor and Description |
---|
Global() |
Modifier and Type | Method and Description |
---|---|
Object |
constructValue(org.springframework.context.ApplicationContext context) |
<T> T |
convertStringTo(String value,
Class<T> typeClass) |
boolean |
equals(Object obj) |
String |
getName()
Returns the value of field 'name'.
|
String |
getRef()
Returns the value of field 'ref'.
|
String |
getType()
Returns the value of field 'type'.
|
Class<?> |
getTypeClass() |
String |
getValue()
Returns the value of field 'value'.
|
Object |
getValueAsType(Class<?> typeClass) |
int |
hashCode() |
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setRef(String ref)
Sets the value of field 'ref'.
|
void |
setType(String type)
Sets the value of field 'type'.
|
void |
setValue(String value)
Sets the value of field 'value'.
|
static Global |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public String getName()
public String getRef()
public String getType()
public String getValue()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setName(String name)
name
- the value of field 'name'.public void setRef(String ref)
ref
- the value of field 'ref'.public void setType(String type)
type
- the value of field 'type'.public void setValue(String value)
value
- the value of field 'value'.public static Global unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic Class<?> getTypeClass()
public Object constructValue(org.springframework.context.ApplicationContext context)
Copyright © 2016. All rights reserved.