public class NamingType extends Object implements Serializable
Constructor and Description |
---|
NamingType() |
Modifier and Type | Method and Description |
---|---|
String |
getPrefix()
Returns the value of field 'prefix'.
|
String |
getSuffix()
Returns the value of field 'suffix'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setPrefix(String prefix)
Sets the value of field 'prefix'.
|
void |
setSuffix(String suffix)
Sets the value of field 'suffix'.
|
static NamingType |
unmarshalNamingType(Reader reader)
Method unmarshalNamingType.
|
void |
validate() |
public String getPrefix()
public String getSuffix()
public boolean isValid()
public void marshal(Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException
handler
- IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setPrefix(String prefix)
prefix
- the value of field 'prefix'.public void setSuffix(String suffix)
suffix
- the value of field 'suffix'.public static NamingType unmarshalNamingType(Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All rights reserved.