org.apache.commons.betwixt.versioning
Class VersioningStrategy

java.lang.Object
  extended by org.apache.commons.betwixt.versioning.VersioningStrategy
All Implemented Interfaces:
org.apache.commons.betwixt.strategy.AttributeSuppressionStrategy, org.apache.commons.betwixt.strategy.ElementSuppressionStrategy

public class VersioningStrategy
extends java.lang.Object
implements org.apache.commons.betwixt.strategy.ElementSuppressionStrategy, org.apache.commons.betwixt.strategy.AttributeSuppressionStrategy


Field Summary
static org.apache.commons.logging.Log log
           
static java.lang.String VERSION_FROM
           
static java.lang.String VERSION_UNTIL
           
 
Fields inherited from interface org.apache.commons.betwixt.strategy.ElementSuppressionStrategy
DEFAULT
 
Fields inherited from interface org.apache.commons.betwixt.strategy.AttributeSuppressionStrategy
DEFAULT
 
Constructor Summary
VersioningStrategy()
           
VersioningStrategy(java.lang.String version)
           
 
Method Summary
 java.lang.String getVersion()
           
 void setVersion(java.lang.String version)
           
 boolean suppress(org.apache.commons.betwixt.AttributeDescriptor descr)
           
 boolean suppress(org.apache.commons.betwixt.ElementDescriptor descr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static org.apache.commons.logging.Log log

VERSION_FROM

public static final java.lang.String VERSION_FROM
See Also:
Constant Field Values

VERSION_UNTIL

public static final java.lang.String VERSION_UNTIL
See Also:
Constant Field Values
Constructor Detail

VersioningStrategy

public VersioningStrategy()

VersioningStrategy

public VersioningStrategy(java.lang.String version)
Method Detail

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String version)

suppress

public boolean suppress(org.apache.commons.betwixt.ElementDescriptor descr)
Specified by:
suppress in interface org.apache.commons.betwixt.strategy.ElementSuppressionStrategy

suppress

public boolean suppress(org.apache.commons.betwixt.AttributeDescriptor descr)
Specified by:
suppress in interface org.apache.commons.betwixt.strategy.AttributeSuppressionStrategy


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.