Class NamingType

java.lang.Object
org.exolab.castor.builder.binding.xml.NamingType
All Implemented Interfaces:
Serializable

public class NamingType extends Object implements Serializable
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • NamingType

      public NamingType()
  • Method Details

    • getPrefix

      public String getPrefix()
      Returns the value of field 'prefix'.
      Returns:
      the value of field 'Prefix'.
    • getSuffix

      public String getSuffix()
      Returns the value of field 'suffix'.
      Returns:
      the value of field 'Suffix'.
    • isValid

      public boolean isValid()
      Method isValid.
      Returns:
      true if this object is valid according to the schema
    • marshal

      public void marshal(Writer out) throws MarshalException, ValidationException
      Parameters:
      out -
      Throws:
      MarshalException - if object is null or if any SAXException is thrown during marshaling
      ValidationException - if this object is an invalid instance according to the schema
    • marshal

      public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException
      Parameters:
      handler -
      Throws:
      IOException - if an IOException occurs during marshaling
      ValidationException - if this object is an invalid instance according to the schema
      MarshalException - if object is null or if any SAXException is thrown during marshaling
    • setPrefix

      public void setPrefix(String prefix)
      Sets the value of field 'prefix'.
      Parameters:
      prefix - the value of field 'prefix'.
    • setSuffix

      public void setSuffix(String suffix)
      Sets the value of field 'suffix'.
      Parameters:
      suffix - the value of field 'suffix'.
    • unmarshalNamingType

      public static NamingType unmarshalNamingType(Reader reader) throws MarshalException, ValidationException
      Method unmarshalNamingType.
      Parameters:
      reader -
      Returns:
      the unmarshaled org.exolab.castor.builder.binding.xml.NamingType
      Throws:
      MarshalException - if object is null or if any SAXException is thrown during marshaling
      ValidationException - if this object is an invalid instance according to the schema
    • validate

      public void validate() throws ValidationException
      Throws:
      ValidationException - if this object is an invalid instance according to the schema