org.apache.xerces.impl.validation.datatypes.eTypes.Interfaces
Interface Property
- All Known Subinterfaces:
- PO_IF, XMLNumber, XMLStringIF
- All Known Implementing Classes:
- AbstractProperty, BasicStringProperty, XMLFixed, XMLRequired
- public interface Property
- extends java.lang.Cloneable
Basic class which models a single 'property' of an object. This interface should be
joined with an interface which defines a validate method.
- Version:
- $Id: Property.java,v 1.1.2.1 2000/10/28 00:04:48 jeffreyr Exp $
- Author:
- Leonard C. Bermnan, Jeffrey Rodriguez
Method Summary |
boolean |
accumulate(java.lang.Object dt)
|
java.lang.Object |
clone()
|
java.lang.String |
getName()
Returns the name of the class |
void |
merge()
|
Property |
twin()
Returns "deep-clone" of this so that changes to this do not effect returnee. |
boolean |
validate(java.lang.Object dt)
|
classNumberSubProperties
public static final int classNumberSubProperties
instance
public static final java.lang.Integer instance
constraint
public static final java.lang.Integer constraint
accumulate
public static final java.lang.Integer accumulate
eval
public static final int eval
merge
public static final int merge
accumulate
public boolean accumulate(java.lang.Object dt)
clone
public java.lang.Object clone()
- Overrides:
- clone in class java.lang.Object
getName
public java.lang.String getName()
- Returns the name of the class
merge
public void merge()
twin
public Property twin()
- Returns "deep-clone" of this so that changes to this do not effect returnee.
Override in any class which has instance fields or
declares and increases classNumberSubProperties.
validate
public boolean validate(java.lang.Object dt)
Copyright © 1999-2001 Apache XML Project. All Rights Reserved.