com.edustructures.sifworks.tools.xpath
Enum SIFElementPointer.AddChildDirective
java.lang.Object
java.lang.Enum<SIFElementPointer.AddChildDirective>
com.edustructures.sifworks.tools.xpath.SIFElementPointer.AddChildDirective
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SIFElementPointer.AddChildDirective>
- Enclosing class:
- SIFElementPointer
public static enum SIFElementPointer.AddChildDirective
- extends java.lang.Enum<SIFElementPointer.AddChildDirective>
The set of values that can be returned from the getChildAddDirective
method
|
Enum Constant Summary |
ADD
It is OK to add this child |
DONT_ADD_NOT_REPEATABLE
Don't add this child because the element is not repeatable and
another already exists as a child of this element |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ADD
public static final SIFElementPointer.AddChildDirective ADD
- It is OK to add this child
DONT_ADD_NOT_REPEATABLE
public static final SIFElementPointer.AddChildDirective DONT_ADD_NOT_REPEATABLE
- Don't add this child because the element is not repeatable and
another already exists as a child of this element
values
public static final SIFElementPointer.AddChildDirective[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(SIFElementPointer.AddChildDirective c : SIFElementPointer.AddChildDirective.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SIFElementPointer.AddChildDirective valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.