original_string: 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;
  	}
code: 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;
  	}
code_tokens: 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 ; }
docstring: Get the type of the atomized value
  @return Type
docstring_tokens: Get the type of the atomized value