org.exolab.castor.mapping.xml
Class Include

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

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

Class Include.

Version:
$Revision: 6104 $ $Date: 2006-01-07 15:48:31 -0700 (Sat, 07 Jan 2006) $
See Also:
Serialized Form

Constructor Summary
Include()
           
 
Method Summary
 java.lang.String getHref()
          Returns the value of field 'href'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setHref(java.lang.String href)
          Sets the value of field 'href'.
static Include 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

Include

public Include()
Method Detail

getHref

public java.lang.String getHref()
Returns the value of field 'href'.

Returns:
String

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

setHref

public void setHref(java.lang.String href)
Sets the value of field 'href'.

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

unmarshal

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

Parameters:
reader -
Returns:
Include
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