JAXB
v0.21

javax.xml.bind
Interface Element

All Known Subinterfaces:
IdentifiableElement, RootElement

public interface Element

Interface implemented by all element classes, that is, classes derived directly from element-type declarations.

For convenience, this interface redeclares the validateThis() method defined in the ValidatableObject class. The full specification of this method may be found in that class.

Version:
1.9, 01/05/31
See Also:
ValidatableObject

Method Summary
 void validateThis()
          Ensures that this object does not violate any local structural constraints.
 

Method Detail

validateThis

public void validateThis()
                  throws LocalValidationException
Ensures that this object does not violate any local structural constraints. This method is exactly the validateThis() method defined in the ValidatableObject class.
Throws:
InvalidContentException - If the children of this object violate the content specification of the schema component from which this object's class was derived
MissingAttributeException - If a property derived from a required attribute has no value
MissingContentException - If a property derived from a required content component has no value

JAXB
v0.21


Comments to: jaxb-comments@java.sun.com
More information at: http://java.sun.com/xml/jaxb

Copyright © 2001 by Sun Microsystems, Inc., 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.