org.exolab.castor.mapping.xml
Class MapTo

java.lang.Object
  extended by org.exolab.castor.mapping.xml.MapTo
All Implemented Interfaces:
java.io.Serializable

public class MapTo
extends java.lang.Object
implements java.io.Serializable

Class MapTo.

Version:
$Revision: 6104 $ $Date: 2006-02-23 01:37:50 -0700 (Thu, 23 Feb 2006) $
See Also:
Serialized Form

Constructor Summary
MapTo()
           
 
Method Summary
 void deleteElementDefinition()
          Method deleteElementDefinition
 boolean getElementDefinition()
          Returns the value of field 'elementDefinition'.
 java.lang.String getLdapDn()
          Returns the value of field 'ldapDn'.
 java.lang.String getLdapOc()
          Returns the value of field 'ldapOc'.
 java.lang.String getNsPrefix()
          Returns the value of field 'nsPrefix'.
 java.lang.String getNsUri()
          Returns the value of field 'nsUri'.
 java.lang.String getTable()
          Returns the value of field 'table'.
 java.lang.String getXml()
          Returns the value of field 'xml'.
 boolean hasElementDefinition()
          Method hasElementDefinition
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setElementDefinition(boolean elementDefinition)
          Sets the value of field 'elementDefinition'.
 void setLdapDn(java.lang.String ldapDn)
          Sets the value of field 'ldapDn'.
 void setLdapOc(java.lang.String ldapOc)
          Sets the value of field 'ldapOc'.
 void setNsPrefix(java.lang.String nsPrefix)
          Sets the value of field 'nsPrefix'.
 void setNsUri(java.lang.String nsUri)
          Sets the value of field 'nsUri'.
 void setTable(java.lang.String table)
          Sets the value of field 'table'.
 void setXml(java.lang.String xml)
          Sets the value of field 'xml'.
static MapTo unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTo

public MapTo()
Method Detail

deleteElementDefinition

public void deleteElementDefinition()
Method deleteElementDefinition


getElementDefinition

public boolean getElementDefinition()
Returns the value of field 'elementDefinition'.

Returns:
boolean

getLdapDn

public java.lang.String getLdapDn()
Returns the value of field 'ldapDn'.

Returns:
String

getLdapOc

public java.lang.String getLdapOc()
Returns the value of field 'ldapOc'.

Returns:
String

getNsPrefix

public java.lang.String getNsPrefix()
Returns the value of field 'nsPrefix'.

Returns:
String

getNsUri

public java.lang.String getNsUri()
Returns the value of field 'nsUri'.

Returns:
String

getTable

public java.lang.String getTable()
Returns the value of field 'table'.

Returns:
String

getXml

public java.lang.String getXml()
Returns the value of field 'xml'.

Returns:
String

hasElementDefinition

public boolean hasElementDefinition()
Method hasElementDefinition

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
MarshalException
ValidationException

setElementDefinition

public void setElementDefinition(boolean elementDefinition)
Sets the value of field 'elementDefinition'.

Parameters:
elementDefinition - the value of field 'elementDefinition'.

setLdapDn

public void setLdapDn(java.lang.String ldapDn)
Sets the value of field 'ldapDn'.

Parameters:
ldapDn - the value of field 'ldapDn'.

setLdapOc

public void setLdapOc(java.lang.String ldapOc)
Sets the value of field 'ldapOc'.

Parameters:
ldapOc - the value of field 'ldapOc'.

setNsPrefix

public void setNsPrefix(java.lang.String nsPrefix)
Sets the value of field 'nsPrefix'.

Parameters:
nsPrefix - the value of field 'nsPrefix'.

setNsUri

public void setNsUri(java.lang.String nsUri)
Sets the value of field 'nsUri'.

Parameters:
nsUri - the value of field 'nsUri'.

setTable

public void setTable(java.lang.String table)
Sets the value of field 'table'.

Parameters:
table - the value of field 'table'.

setXml

public void setXml(java.lang.String xml)
Sets the value of field 'xml'.

Parameters:
xml - the value of field 'xml'.

unmarshal

public static MapTo unmarshal(java.io.Reader reader)
                       throws MarshalException,
                              ValidationException
Method unmarshal

Parameters:
reader -
Returns:
MapTo
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com