blob: 8d8b90e78ebbc24647b4c30c9275fa169b1f60d1 [file] [log] [blame]
package org.eclipse.wst.xml.xpath2.processor.internal.types;
import org.eclipse.wst.xml.xpath2.api.AtomicItemType;
import org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition;
public class SimpleAtomicItemTypeImpl implements AtomicItemType {
private TypeDefinition typeDefinition;
public SimpleAtomicItemTypeImpl(TypeDefinition typeDefinition) {
super();
this.typeDefinition = typeDefinition;
}
public short getOccurrence() {
return OCCURRENCE_ONE;
}
public TypeDefinition getTypeDefinition() {
return typeDefinition;
}
}