public function getAtomizedValueType()
	{
		if ( $this->IsNode )
		{
			switch ( $this->TypeCode )
			{
				case XmlTypeCode::Text:
				case XmlTypeCode::ProcessingInstruction:
				case XmlTypeCode::Comment:
				case XmlTypeCode::UntypedAtomic:
					return Types::$UntypedAtomicType;

				default:

					if ( ! is_null( $this->SchemaType ) )
						return $this->SchemaType->Datatype->ValueType;
					else if ( ! is_null( $this->SchemaElement ) )
					{
						if ( ! is_null( $this->SchemaElement->ElementSchemaType ) && ! is_null( $this->SchemaElement->ElementSchemaType->Datatype ) )
							return $this->SchemaElement->ElementSchemaType->Datatype->ValueType;
					}
					else if ( ! is_null( $this->SchemaAttribute ) )
					{
						if ( ! is_null( $this->SchemaAttribute->AttributeSchemaType ) && ! is_null( $this->SchemaAttribute->AttributeSchemaType->Datatype ) )
							return $this->SchemaAttribute->AttributeSchemaType->Datatype->ValueType;
					}
					return Types::$UntypedAtomicType;
			}
		}
		else
			return $this->ItemType;
	}
public function getAtomizedValueType()
	{
		if ( $this->IsNode )
		{
			switch ( $this->TypeCode )
			{
				case XmlTypeCode::Text:
				case XmlTypeCode::ProcessingInstruction:
				case XmlTypeCode::Comment:
				case XmlTypeCode::UntypedAtomic:
					return Types::$UntypedAtomicType;

				default:

					if ( ! is_null( $this->SchemaType ) )
						return $this->SchemaType->Datatype->ValueType;
					else if ( ! is_null( $this->SchemaElement ) )
					{
						if ( ! is_null( $this->SchemaElement->ElementSchemaType ) && ! is_null( $this->SchemaElement->ElementSchemaType->Datatype ) )
							return $this->SchemaElement->ElementSchemaType->Datatype->ValueType;
					}
					else if ( ! is_null( $this->SchemaAttribute ) )
					{
						if ( ! is_null( $this->SchemaAttribute->AttributeSchemaType ) && ! is_null( $this->SchemaAttribute->AttributeSchemaType->Datatype ) )
							return $this->SchemaAttribute->AttributeSchemaType->Datatype->ValueType;
					}
					return Types::$UntypedAtomicType;
			}
		}
		else
			return $this->ItemType;
	}
public function getAtomizedValueType ( ) { if ( $ this -> IsNode ) { switch ( $ this -> TypeCode ) { case XmlTypeCode :: Text : case XmlTypeCode :: ProcessingInstruction : case XmlTypeCode :: Comment : case XmlTypeCode :: UntypedAtomic : return Types :: $ UntypedAtomicType ; default : if ( ! is_null ( $ this -> SchemaType ) ) return $ this -> SchemaType -> Datatype -> ValueType ; else if ( ! is_null ( $ this -> SchemaElement ) ) { if ( ! is_null ( $ this -> SchemaElement -> ElementSchemaType ) && ! is_null ( $ this -> SchemaElement -> ElementSchemaType -> Datatype ) ) return $ this -> SchemaElement -> ElementSchemaType -> Datatype -> ValueType ; } else if ( ! is_null ( $ this -> SchemaAttribute ) ) { if ( ! is_null ( $ this -> SchemaAttribute -> AttributeSchemaType ) && ! is_null ( $ this -> SchemaAttribute -> AttributeSchemaType -> Datatype ) ) return $ this -> SchemaAttribute -> AttributeSchemaType -> Datatype -> ValueType ; } return Types :: $ UntypedAtomicType ; } } else return $ this -> ItemType ; }
Get the type of the atomized value
@return Type
Get the type of the atomized value