com.novell.admin.ns
Interface ValueStrategy

All Superinterfaces:
Strategy
All Known Implementing Classes:
BooleanStrategy, HexStrategy, IntegerStrategy, StreamStrategy, StringStrategy, TimeStrategy

public interface ValueStrategy
extends Strategy

Contract for all strategy classes that support Value objects.

See Also:
Value

Method Summary
 boolean canCreateValue(java.lang.Object obj)
          Algorithm used to determine if a Value can be created from an Object.
 Syntax getSyntax()
          Get the syntax associated with this strategy.
 
Methods inherited from interface com.novell.admin.ns.Strategy
compare, createValueComponent, createValueComponent, equals, isWithinBounds, toString
 

Method Detail

getSyntax

public Syntax getSyntax()
Get the syntax associated with this strategy.
Returns:
Syntax specifically associated with this strategy.

canCreateValue

public boolean canCreateValue(java.lang.Object obj)
Algorithm used to determine if a Value can be created from an Object.
Parameters:
obj - Object to be tested.
Returns:
true if Value can be created, false otherwise.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.