com.novell.admin.ns
Interface ValueStrategy

All Superinterfaces:
Strategy
All Known Implementing Classes:
com.novell.admin.ns.ldap.BinaryStrategy, 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

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.

getSyntax

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

Returns:
Syntax specifically associated with this strategy.


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.