/** * <p>Add each literal from the given iteration to the * enumeration that defines the permissible values of this datarange.</p> * @param literals An iterator over literals * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. */ @Override public void addOneOf( Iterator<Literal> literals ) { while( literals.hasNext() ) { addOneOf( literals.next() ); } }
/** * <p>Add each literal from the given iteration to the * enumeration that defines the permissible values of this datarange.</p> * @param literals An iterator over literals * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. */ @Override public void addOneOf( Iterator<Literal> literals ) { while( literals.hasNext() ) { addOneOf( literals.next() ); } }