org.apache.xerces.impl.validation.datatypes.eTypes.xml
Class XMLFixed

java.lang.Object
  |
  +--org.apache.xerces.impl.validation.datatypes.eTypes.xml.XMLFixed

public class XMLFixed
extends java.lang.Object
implements Property

valid if all non-null instances of XModelIF are equal

Version:
$Id: XMLFixed.java,v 1.1.2.1 2000/10/28 00:04:52 jeffreyr Exp $
Author:
Leonard C. Berman, Jeffrey Rodriguez

Inner classes inherited from class org.apache.xerces.impl.validation.datatypes.eTypes.Interfaces.Property
Property.ValidationSummary
 
Fields inherited from interface org.apache.xerces.impl.validation.datatypes.eTypes.Interfaces.Property
accumulate, classNumberSubProperties, constraint, eval, instance, merge
 
Constructor Summary
XMLFixed()
           
 
Method Summary
 boolean accumulate(java.lang.Object dt)
          accumulate method comment.
 java.lang.Object clone()
           
 java.lang.String getName()
          getName method comment.
 boolean isValid()
           
 void merge()
          merge method comment.
 void merge(Property scratchProp)
          XML property merge is not called
 void setValid(boolean newValid)
           
 Property twin()
          Returns "deep-clone" of this so that changes to this do not effect returnee.
 boolean validate(java.lang.Object dt)
          Expects a vector of values.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFixed

public XMLFixed()
Method Detail

accumulate

public boolean accumulate(java.lang.Object dt)
accumulate method comment.
Specified by:
accumulate in interface Property

clone

public java.lang.Object clone()
Specified by:
clone in interface Property
Overrides:
clone in class java.lang.Object

getName

public java.lang.String getName()
getName method comment.
Specified by:
getName in interface Property

isValid

public final boolean isValid()
Returns:
boolean

merge

public void merge()
merge method comment.
Specified by:
merge in interface Property

merge

public void merge(Property scratchProp)
XML property merge is not called

setValid

public final void setValid(boolean newValid)
Parameters:
newValid - boolean

twin

public Property twin()
Description copied from interface: Property
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.
Specified by:
twin in interface Property
Parameters:
newXm - com.ibm.DDbEv2.InterfacesEvents.XModelIF

validate

public boolean validate(java.lang.Object dt)
Expects a vector of values. Returns true iff all non-null items are equal.
Specified by:
validate in interface Property


Copyright © 1999-2001 Apache XML Project. All Rights Reserved.